net.minecraft.item

public class OnAStickItem<T extends Entity extends ItemSteerable>

extends Item

All mapped superinterfaces:

ItemConvertible, ToggleableFeature

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

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public ActionResult
use(Level level, Player player, InteractionHand hand)
method_7836(class_1937 arg0, class_1657 arg1, class_1268 arg2)
use(World arg0, PlayerEntity arg1, Hand arg2)