net.minecraft.component.type

public record SwingAnimationComponent

dpb
net.minecraft.world.item.component.SwingAnimation
net.minecraft.class_12126
net.minecraft.component.type.SwingAnimationComponent
net.minecraft.unmapped.C_vhiqqaxr
net.minecraft.unmapped.C_vhiqqaxr
net.minecraft.src.C_432273_

Field summary

Modifier and TypeField
private final SwingAnimationType
d
type
comp_4975
type
f_qnsbnkjq
type
f_434081_
private final int
e
duration
comp_4976
duration
f_rllwlbhj
duration
f_433465_
public static final SwingAnimationComponent
a
DEFAULT
field_63413
DEFAULT
f_ozdqhrio
WHACK
f_437418_
public static final com.mojang.serialization.Codec<SwingAnimationComponent>
b
CODEC
field_63414
CODEC
f_aprboaad
CODEC
f_433521_
public static final PacketCodec<io.netty.buffer.ByteBuf, SwingAnimationComponent>
c
STREAM_CODEC
field_63415
PACKET_CODEC
f_epwfqpve
PACKET_CODEC
f_436487_

Constructor summary

ModifierConstructor
public (SwingAnimationType type, int duration)

Method summary

Modifier and TypeMethod
public SwingAnimationType
a()
type()
comp_4975()
type()
m_llrslzwe()
type()
f_434081_()
public int
b()
duration()
comp_4976()
duration()
m_hzoizepy()
duration()
f_433465_()