You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, there is only a Player#dropItem(boolean) method to drop the held item of the player, so when dropping an item from the inventory from a player you have to implement the entire drop logic yourself or use nms
Describe the solution you'd like.
A Player#dropItem(ItemStack) method
and maybe even a Player#dropItem(EquipmentSlot) method
Describe alternatives you've considered.
Using NMS or implementing dropping yourself
Other
My best attempt at implementing it myself (basically what vanilla does)
Is your feature request related to a problem?
Currently, there is only a
Player#dropItem(boolean)
method to drop the held item of the player, so when dropping an item from the inventory from a player you have to implement the entire drop logic yourself or use nmsDescribe the solution you'd like.
A
Player#dropItem(ItemStack)
methodand maybe even a
Player#dropItem(EquipmentSlot)
methodDescribe alternatives you've considered.
Using NMS or implementing dropping yourself
Other
My best attempt at implementing it myself (basically what vanilla does)
or with NMS
Additionally, to make it seem like the player dropped the item themselves, swing their main hand
The text was updated successfully, but these errors were encountered: