Uses of Class
net.minecraft.item.ItemUsageContext
Packages that use ItemUsageContext
-
Uses of ItemUsageContext in net.minecraft.item
Subclasses of ItemUsageContext in net.minecraft.itemFields in net.minecraft.item with type parameters of type ItemUsageContextModifier and TypeFieldDescriptionprotected static Map<Block,com.mojang.datafixers.util.Pair<Predicate<ItemUsageContext>,Consumer<ItemUsageContext>>>
HoeItem.TILLED_BLOCKS
protected static Map<Block,com.mojang.datafixers.util.Pair<Predicate<ItemUsageContext>,Consumer<ItemUsageContext>>>
HoeItem.TILLED_BLOCKS
Methods in net.minecraft.item that return types with arguments of type ItemUsageContextModifier and TypeMethodDescriptionstatic Consumer<ItemUsageContext>
HoeItem.getTillingConsumer(BlockState state)
static Consumer<ItemUsageContext>
HoeItem.getTillingConsumer(BlockState state, ItemConvertible dropItem)
Methods in net.minecraft.item with parameters of type ItemUsageContextModifier and TypeMethodDescriptionstatic boolean
HoeItem.usagePredicate(ItemUsageContext context)
ArmorStandItem.useOnBlock(ItemUsageContext context)
Called when an item is used on a block.AxeItem.useOnBlock(ItemUsageContext context)
Called when an item is used on a block.BlockItem.useOnBlock(ItemUsageContext context)
Called when an item is used on a block.BoneMealItem.useOnBlock(ItemUsageContext context)
Called when an item is used on a block.CompassItem.useOnBlock(ItemUsageContext context)
Called when an item is used on a block.DebugStickItem.useOnBlock(ItemUsageContext context)
Called when an item is used on a block.DecorationItem.useOnBlock(ItemUsageContext context)
Called when an item is used on a block.EndCrystalItem.useOnBlock(ItemUsageContext context)
Called when an item is used on a block.EnderEyeItem.useOnBlock(ItemUsageContext context)
Called when an item is used on a block.FilledMapItem.useOnBlock(ItemUsageContext context)
Called when an item is used on a block.FireChargeItem.useOnBlock(ItemUsageContext context)
Called when an item is used on a block.FireworkItem.useOnBlock(ItemUsageContext context)
Called when an item is used on a block.FlintAndSteelItem.useOnBlock(ItemUsageContext context)
Called when an item is used on a block.HoeItem.useOnBlock(ItemUsageContext context)
Called when an item is used on a block.HoneycombItem.useOnBlock(ItemUsageContext context)
Called when an item is used on a block.Item.useOnBlock(ItemUsageContext context)
Called when an item is used on a block.ItemStack.useOnBlock(ItemUsageContext context)
LeadItem.useOnBlock(ItemUsageContext context)
Called when an item is used on a block.LilyPadItem.useOnBlock(ItemUsageContext context)
Called when an item is used on a block.MinecartItem.useOnBlock(ItemUsageContext context)
Called when an item is used on a block.MusicDiscItem.useOnBlock(ItemUsageContext context)
Called when an item is used on a block.PowderSnowBucketItem.useOnBlock(ItemUsageContext context)
Called when an item is used on a block.ShovelItem.useOnBlock(ItemUsageContext context)
Called when an item is used on a block.SpawnEggItem.useOnBlock(ItemUsageContext context)
Called when an item is used on a block.WritableBookItem.useOnBlock(ItemUsageContext context)
Called when an item is used on a block.WrittenBookItem.useOnBlock(ItemUsageContext context)
Called when an item is used on a block.Constructors in net.minecraft.item with parameters of type ItemUsageContext