Uses of Class
net.minecraft.item.ItemUseContext
-
Packages that use ItemUseContext Package Description net.minecraft.item net.minecraftforge.common net.minecraftforge.common.extensions net.minecraftforge.event net.minecraftforge.event.entity.player -
-
Uses of ItemUseContext in net.minecraft.item
Subclasses of ItemUseContext in net.minecraft.item Modifier and Type Class Description class
BlockItemUseContext
class
DirectionalPlaceContext
Method parameters in net.minecraft.item with type arguments of type ItemUseContext Modifier and Type Method Description private ActionResultType
ItemStack. onItemUse(ItemUseContext p_196084_1_, java.util.function.Function<ItemUseContext,ActionResultType> callback)
Constructors in net.minecraft.item with parameters of type ItemUseContext Constructor Description BlockItemUseContext(ItemUseContext p_i47813_1_)
-
Uses of ItemUseContext in net.minecraftforge.common
Methods in net.minecraftforge.common with parameters of type ItemUseContext Modifier and Type Method Description static ActionResultType
ForgeHooks. onPlaceItemIntoWorld(ItemUseContext context)
-
Uses of ItemUseContext in net.minecraftforge.common.extensions
Methods in net.minecraftforge.common.extensions with parameters of type ItemUseContext Modifier and Type Method Description default ActionResultType
IForgeItem. onItemUseFirst(ItemStack stack, ItemUseContext context)
This is called when the item is used, before the block is activated.default ActionResultType
IForgeItemStack. onItemUseFirst(ItemUseContext context)
-
Uses of ItemUseContext in net.minecraftforge.event
Methods in net.minecraftforge.event with parameters of type ItemUseContext Modifier and Type Method Description static int
ForgeEventFactory. onHoeUse(ItemUseContext context)
Deprecated. -
Uses of ItemUseContext in net.minecraftforge.event.entity.player
Fields in net.minecraftforge.event.entity.player declared as ItemUseContext Modifier and Type Field Description private ItemUseContext
UseHoeEvent. context
Deprecated.Methods in net.minecraftforge.event.entity.player that return ItemUseContext Modifier and Type Method Description ItemUseContext
UseHoeEvent. getContext()
Deprecated.Constructors in net.minecraftforge.event.entity.player with parameters of type ItemUseContext Constructor Description UseHoeEvent(ItemUseContext context)
Deprecated.
-