net.minecraft.world.level.gameevent.vibrations

public class VibrationSelector

ecz
net.minecraft.world.level.gameevent.vibrations.VibrationSelector
net.minecraft.class_7722
net.minecraft.world.event.listener.VibrationSelector
net.minecraft.world.level.gameevent.vibrations.VibrationSelector

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<VibrationSelector>
a
CODEC
field_40359
CODEC
private Optional<org.apache.commons.lang3.tuple.Pair<VibrationInfo, Long>>
b
currentVibrationData
field_40360
current

Constructor summary

ModifierConstructor
public (Optional<VibrationInfo> vibration, long tick)
public ()

Method summary

Modifier and TypeMethod
public void
a(ecy arg0, long arg1)
addCandidate(VibrationInfo arg0, long arg1)
method_45505(class_7269 arg0, long arg1)
tryAccept(Vibration vibration, long tick)
private boolean
b(ecy arg0, long arg1)
shouldReplaceVibration(VibrationInfo arg0, long arg1)
method_45507(class_7269 arg0, long arg1)
shouldSelect(Vibration vibration, long tick)
public Optional<VibrationInfo>
a(long arg0)
chosenCandidate(long arg0)
method_45502(long arg0)
getVibrationToTick(long currentTick)
public void
a()
startOver()
method_45501()
clear()