net.minecraft.entity

public class LivingEntity$HandSwingState

net.minecraft.world.entity.LivingEntity$SwingState
net.minecraft.class_1309$class_1_1433
net.minecraft.entity.LivingEntity$HandSwingState

Field summary

Modifier and TypeField
private LivingEntity$HandSwing
currentSwing
field_1_9779
currentSwing
private int
ticks
field_1_9781
ticksSinceLastSwing
private float
oldAnimation
field_1_9780
lastSwingProgress
private float
animation
field_1_9778
swingProgress

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public boolean
startIfAble(InteractionHand hand, SwingAnimation animation, int durationTicks)
method_1_9425(class_1268 arg0, class_12126 arg1, int arg2)
trySwing(Hand hand, SwingAnimationComponent animation, int durationTicks)
private void
start(InteractionHand hand, SwingAnimation animation, int durationTicks)
method_1_9424(class_1268 arg0, class_12126 arg1, int arg2)
swing(Hand hand, SwingAnimationComponent animation, int durationTicks)
public void
tick()
method_1_9426()
tick()
public float
getAnimation(float partialTicks)
method_1_9422(float arg0)
getProgress(float tickProgress)
public boolean
isSwinging()
method_1_9423()
isSwinging()