net.minecraft.world.item

public enum SwingAnimationType

implements StringRepresentable

dnf
net.minecraft.world.item.SwingAnimationType
net.minecraft.class_12122
net.minecraft.util.SwingAnimationType
net.minecraft.src.C_433072_
net.minecraft.world.item.SwingAnimationType

枚举常量概要

枚举常量
a
NONE
field_63398
NONE
NONE
b
WHACK
field_63399
WHACK
WHACK
c
STAB
field_63400
STAB
STAB

字段概要

修饰符与类型字段
private static final IntFunction<SwingAnimationType>
f
BY_ID
field_63403
BY_PACKET_ID
f_435212_
public static final com.mojang.serialization.Codec<SwingAnimationType>
d
CODEC
field_63401
CODEC
f_433420_
public static final StreamCodec<io.netty.buffer.ByteBuf, SwingAnimationType>
e
STREAM_CODEC
field_63402
PACKET_CODEC
f_436717_
private final int
g
id
field_63404
packetId
f_436230_
private final String
h
name
field_63405
name
f_434075_

构造函数概要

修饰符构造函数
private (int p_451566_, String p_459673_)

方法概要

修饰符与类型方法
public int
a()
getId()
method_75226()
getPacketId()
m_439517_()
public String
c()
getSerializedName()
method_15434()
asString()
m_7912_()