import{EquipmentSlot as n}from"@minecraft/server";import{getEntityEquippable as t}from"./entity.js";function i(i){const r=t(i);if(r)return r.getEquipment(n.Mainhand)}function r(i,r){const e=t(i);if(e)return e.setEquipment(n.Mainhand,r)}export{i as getPlayerHeldItem,r as setPlayerHeldItem};
