net.minecraft.world.level.gameevent.vibrations

public class VibrationSelector

dkb
net.minecraft.world.level.gameevent.vibrations.VibrationSelector
net.minecraft.class_7722
net.minecraft.world.event.listener.VibrationSelector
net.minecraft.src.C_243431_
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
f_244309_
private Optional<org.apache.commons.lang3.tuple.Pair<VibrationInfo, Long>>
b
currentVibrationData
field_40360
current
f_244532_

Constructor summary

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

Method summary

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