net.minecraft.world.item

public enum SwingAnimationType

implements StringRepresentable

dly
net.minecraft.world.item.SwingAnimationType
net.minecraft.class_12122
net.minecraft.util.SwingAnimationType

Enum constant summary

Enum Constant
a
NONE
field_63398
NONE
b
WHACK
field_63399
WHACK
c
STAB
field_63400
STAB

Field summary

Modifier and TypeField
private static final IntFunction<SwingAnimationType>
f
BY_ID
field_63403
BY_PACKET_ID
public static final com.mojang.serialization.Codec<SwingAnimationType>
d
CODEC
field_63401
CODEC
public static final StreamCodec<io.netty.buffer.ByteBuf, SwingAnimationType>
e
STREAM_CODEC
field_63402
PACKET_CODEC
private final int
g
id
field_63404
packetId
private final String
h
name
field_63405
name

Constructor summary

ModifierConstructor
private (int arg0, String arg1)

Method summary

Modifier and TypeMethod
public int
a()
getId()
method_75226()
getPacketId()
public String
c()
getSerializedName()
method_15434()
asString()