net.minecraft.world.item

public class FoodOnAStickItem<T extends Entity extends ItemSteerable>

extends Item

All mapped superinterfaces:

FeatureElement, ItemLike

cxa
net.minecraft.world.item.FoodOnAStickItem
net.minecraft.class_1758
net.minecraft.item.OnAStickItem
net.minecraft.world.item.ItemCarrotStick

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public InteractionResult
a(dhi arg0, cpx arg1, bti 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)