Uses of Class
net.minecraft.item.ItemUseContext
Packages that use ItemUseContext
Package
Description
-
Uses of ItemUseContext in net.minecraft.item
Subclasses of ItemUseContext in net.minecraft.itemMethods in net.minecraft.item with parameters of type ItemUseContextModifier and TypeMethodDescriptionprivate ActionResultType
ItemStack.onItemUse
(ItemUseContext p_196084_1_, Function<ItemUseContext, ActionResultType> callback) ItemStack.onItemUseFirst
(ItemUseContext p_196084_1_) ArmorStandItem.useOn
(ItemUseContext p_195939_1_) AxeItem.useOn
(ItemUseContext p_195939_1_) BlockItem.useOn
(ItemUseContext p_195939_1_) BoneMealItem.useOn
(ItemUseContext p_195939_1_) CompassItem.useOn
(ItemUseContext p_195939_1_) DebugStickItem.useOn
(ItemUseContext p_195939_1_) EnderCrystalItem.useOn
(ItemUseContext p_195939_1_) EnderEyeItem.useOn
(ItemUseContext p_195939_1_) FilledMapItem.useOn
(ItemUseContext p_195939_1_) FireChargeItem.useOn
(ItemUseContext p_195939_1_) FireworkRocketItem.useOn
(ItemUseContext p_195939_1_) FlintAndSteelItem.useOn
(ItemUseContext p_195939_1_) HangingEntityItem.useOn
(ItemUseContext p_195939_1_) HoeItem.useOn
(ItemUseContext p_195939_1_) Item.useOn
(ItemUseContext p_195939_1_) ItemStack.useOn
(ItemUseContext p_196084_1_) LeadItem.useOn
(ItemUseContext p_195939_1_) LilyPadItem.useOn
(ItemUseContext p_195939_1_) MinecartItem.useOn
(ItemUseContext p_195939_1_) MusicDiscItem.useOn
(ItemUseContext p_195939_1_) ShovelItem.useOn
(ItemUseContext p_195939_1_) SpawnEggItem.useOn
(ItemUseContext p_195939_1_) WritableBookItem.useOn
(ItemUseContext p_195939_1_) WrittenBookItem.useOn
(ItemUseContext p_195939_1_) Method parameters in net.minecraft.item with type arguments of type ItemUseContextModifier and TypeMethodDescriptionprivate ActionResultType
ItemStack.onItemUse
(ItemUseContext p_196084_1_, Function<ItemUseContext, ActionResultType> callback) Constructors in net.minecraft.item with parameters of type ItemUseContext -
Uses of ItemUseContext in net.minecraftforge.common
Methods in net.minecraftforge.common with parameters of type ItemUseContextModifier and TypeMethodDescriptionstatic ActionResultType
ForgeHooks.onPlaceItemIntoWorld
(ItemUseContext context) -
Uses of ItemUseContext in net.minecraftforge.common.extensions
Methods in net.minecraftforge.common.extensions with parameters of type ItemUseContextModifier and TypeMethodDescriptiondefault 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 ItemUseContextModifier and TypeMethodDescriptionstatic int
ForgeEventFactory.onHoeUse
(ItemUseContext context) Deprecated. -
Uses of ItemUseContext in net.minecraftforge.event.entity.player
Fields in net.minecraftforge.event.entity.player declared as ItemUseContextMethods in net.minecraftforge.event.entity.player that return ItemUseContextConstructors in net.minecraftforge.event.entity.player with parameters of type ItemUseContext