net.minecraft.world.item

public class FoodOnAStickItem<T extends Entity extends ItemSteerable>

extends Item

All mapped superinterfaces:

ItemLike

blo
net.minecraft.world.item.FoodOnAStickItem
net.minecraft.class_1758
net.minecraft.item.OnAStickItem
net.minecraft.item.OnAStickItem
net.minecraft.server.v1_16_R2.ItemCarrotStick

Field summary

Modifier and TypeField
private final EntityType<T>
a
canInteractWith
field_23253
target
field_234680_a_
private final int
b
consumeItemDamage
field_23743
damagePerUse
field_234681_b_

Constructor summary

ModifierConstructor
public (Item$Properties settings, EntityType<T> target, int damagePerUse)

Method summary

Modifier and TypeMethod
public InteractionResultHolder<ItemStack>
a(bru arg0, bft arg1, aoq arg2)
use(Level arg0, Player arg1, InteractionHand arg2)
method_7836(class_1937 arg0, class_1657 arg1, class_1268 arg2)
use(World arg0, PlayerEntity arg1, Hand arg2)
func_77659_a(World arg0, PlayerEntity arg1, Hand arg2)