net.minecraft.world.item

public class FoodOnAStickItem<T extends Entity extends ItemSteerable>

extends Item

All mapped superinterfaces:

ItemLike

bzm
net.minecraft.world.item.FoodOnAStickItem
net.minecraft.class_1758
net.minecraft.item.OnAStickItem
net.minecraft.src.C_1375_
net.minecraft.world.item.ItemCarrotStick

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public InteractionResultHolder<ItemStack>
a(cga arg0, btf arg1, azl 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)
m_7203_(C_1596_ p_41315_, C_1141_ p_41316_, C_470_ arg2)