Class VibrationSelector
java.lang.Object
net.minecraft.world.level.gameevent.vibrations.VibrationSelector
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<VibrationSelector> private Optional
<org.apache.commons.lang3.tuple.Pair<VibrationInfo, Long>> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addCandidate
(VibrationInfo p_250149_, long p_249749_) chosenCandidate
(long p_250251_) private boolean
shouldReplaceVibration
(VibrationInfo p_248697_, long p_249040_) void
-
Field Details
-
CODEC
-
currentVibrationData
-
-
Constructor Details
-
VibrationSelector
-
VibrationSelector
public VibrationSelector()
-
-
Method Details
-
addCandidate
-
shouldReplaceVibration
-
chosenCandidate
-
startOver
public void startOver()
-