net.minecraft.world.item

public class FoodOnAStickItem<T extends Entity extends ItemSteerable>

extends Item

All mapped superinterfaces:

ItemLike

btt
net.minecraft.world.item.FoodOnAStickItem
net.minecraft.class_1758
net.minecraft.unmapped.C_nqoglrax
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
f_ngnqjwbd
target
f_41304_
private final int
b
consumeItemDamage
field_23743
f_abybzleq
damagePerUse
f_41305_

Constructor summary

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

Method summary

Modifier and TypeMethod
public InteractionResultHolder<ItemStack>
a(cad arg0, bnr arg1, avp arg2)
use(Level arg0, Player arg1, InteractionHand arg2)
method_7836(class_1937 arg0, class_1657 arg1, class_1268 arg2)
m_znsmbimv(C_cdctfzbn arg0, C_jzrpycqo arg1, C_laxmzoqs arg2)
use(World arg0, PlayerEntity arg1, Hand arg2)
m_7203_(C_1596_ p_41315_, C_1141_ p_41316_, C_470_ arg2)