Class VibrationSelector
java.lang.Object
net.minecraft.world.event.listener.VibrationSelector
Selects a vibration to accept in case multiple ones are received at the same tick.
- Mappings:
Namespace Name official dgt
intermediary net/minecraft/class_7722
named net/minecraft/world/event/listener/VibrationSelector
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
getVibrationToTick
(long currentTick) private boolean
shouldSelect
(Vibration vibration, long tick) void
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official a
Ldgt;a:Lcom/mojang/serialization/Codec;
intermediary field_40359
Lnet/minecraft/class_7722;field_40359:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/world/event/listener/VibrationSelector;CODEC:Lcom/mojang/serialization/Codec;
-
current
- Mappings:
Namespace Name Mixin selector official b
Ldgt;b:Ljava/util/Optional;
intermediary field_40360
Lnet/minecraft/class_7722;field_40360:Ljava/util/Optional;
named current
Lnet/minecraft/world/event/listener/VibrationSelector;current:Ljava/util/Optional;
-
-
Constructor Details
-
VibrationSelector
- Mappings:
Namespace Name Mixin selector official <init>
Ldgt;<init>(Ljava/util/Optional;J)V
intermediary <init>
Lnet/minecraft/class_7722;<init>(Ljava/util/Optional;J)V
named <init>
Lnet/minecraft/world/event/listener/VibrationSelector;<init>(Ljava/util/Optional;J)V
-
VibrationSelector
public VibrationSelector()
-
-
Method Details
-
tryAccept
- Mappings:
Namespace Name Mixin selector official a
Ldgt;a(Ldgs;J)V
intermediary method_45505
Lnet/minecraft/class_7722;method_45505(Lnet/minecraft/class_7269;J)V
named tryAccept
Lnet/minecraft/world/event/listener/VibrationSelector;tryAccept(Lnet/minecraft/world/event/listener/Vibration;J)V
-
shouldSelect
- Mappings:
Namespace Name Mixin selector official b
Ldgt;b(Ldgs;J)Z
intermediary method_45507
Lnet/minecraft/class_7722;method_45507(Lnet/minecraft/class_7269;J)Z
named shouldSelect
Lnet/minecraft/world/event/listener/VibrationSelector;shouldSelect(Lnet/minecraft/world/event/listener/Vibration;J)Z
-
getVibrationToTick
- Mappings:
Namespace Name Mixin selector official a
Ldgt;a(J)Ljava/util/Optional;
intermediary method_45502
Lnet/minecraft/class_7722;method_45502(J)Ljava/util/Optional;
named getVibrationToTick
Lnet/minecraft/world/event/listener/VibrationSelector;getVibrationToTick(J)Ljava/util/Optional;
-
clear
public void clear()- Mappings:
Namespace Name Mixin selector official a
Ldgt;a()V
intermediary method_45501
Lnet/minecraft/class_7722;method_45501()V
named clear
Lnet/minecraft/world/event/listener/VibrationSelector;clear()V
-