net.minecraft.world.item

public enum ItemUseAnimation

implements StringRepresentable

cxr
net.minecraft.world.item.ItemUseAnimation
net.minecraft.class_1839
net.minecraft.unmapped.C_qeajvgxm
net.minecraft.item.consume.UseAction
net.minecraft.item.UseAnimation
net.minecraft.src.C_346038_
net.minecraft.world.item.ItemUseAnimation

Enum constant summary

Enum Constant
a
NONE
field_8952
f_ikfyrujq
NONE
NONE
NONE
b
EAT
field_8950
f_vpooqjcy
EAT
EAT
EAT
c
DRINK
field_8946
f_bmblyuad
DRINK
DRINK
DRINK
d
BLOCK
field_8949
f_stsfpgix
BLOCK
BLOCK
BLOCK
e
BOW
field_8953
f_ucfipbri
BOW
BOW
BOW
f
SPEAR
field_8951
f_wumnohql
SPEAR
SPEAR
SPEAR
g
CROSSBOW
field_8947
f_dxwezoqm
CROSSBOW
CROSSBOW
CROSSBOW
h
SPYGLASS
field_27079
f_loysvtty
SPYGLASS
SPYGLASS
SPYGLASS
i
TOOT_HORN
field_39058
f_jwggannt
TOOT_HORN
TOOT_HORN
TOOT_HORN
j
BRUSH
field_42717
f_tnimuchu
BRUSH
BRUSH
BRUSH

Field summary

Modifier and TypeField
private static final IntFunction<ItemUseAnimation>
m
BY_ID
field_53766
f_pxhheyut
BY_ID
BY_ID
f_349394_
public static final com.mojang.serialization.Codec<ItemUseAnimation>
k
CODEC
field_53764
f_yhnloaax
CODEC
CODEC
f_347315_
public static final StreamCodec<io.netty.buffer.ByteBuf, ItemUseAnimation>
l
STREAM_CODEC
field_53765
f_emryhlue
PACKET_CODEC
PACKET_CODEC
f_348673_
private final int
n
id
field_53767
f_gcmqdixi
id
id
f_349155_
private final String
o
name
field_53768
f_vmwuyela
name
name
f_346780_

Constructor summary

ModifierConstructor
private (int p_360954_, String p_369223_)

Method summary

Modifier and TypeMethod
public int
a()
getId()
method_62838()
m_jtlfencz()
getId()
getId()
m_356539_()
public String
c()
getSerializedName()
method_15434()
m_dxbrenur()
asString()
asString()
m_7912_()