Package net.minecraft.world.item
Class ItemUtils
java.lang.Object
net.minecraft.world.item.ItemUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ItemStack
createFilledResult
(ItemStack p_41814_, Player p_41815_, ItemStack p_41816_) static ItemStack
createFilledResult
(ItemStack p_41818_, Player p_41819_, ItemStack p_41820_, boolean p_41821_) static void
onContainerDestroyed
(ItemEntity p_150953_, Iterable<ItemStack> p_330873_) static InteractionResultHolder
<ItemStack> startUsingInstantly
(Level p_150960_, Player p_150961_, InteractionHand p_150962_)
-
Constructor Details
-
ItemUtils
public ItemUtils()
-
-
Method Details
-
startUsingInstantly
public static InteractionResultHolder<ItemStack> startUsingInstantly(Level p_150960_, Player p_150961_, InteractionHand p_150962_) -
createFilledResult
-
createFilledResult
-
onContainerDestroyed
-