Package net.minecraft.world
Class Vibration
java.lang.Object
net.minecraft.world.Vibration
public class Vibration extends Object
- Mappings:
Namespace Name official cmb
intermediary net/minecraft/class_5720
named net/minecraft/world/Vibration
-
Field Summary
Fields Modifier and Type Field Description private int
arrivalInTicks
static com.mojang.serialization.Codec<Vibration>
CODEC
private PositionSource
destination
private BlockPos
origin
-
Constructor Summary
Constructors Constructor Description Vibration(BlockPos origin, PositionSource destination, int arrivalInTicks)
-
Method Summary
Modifier and Type Method Description int
getArrivalInTicks()
PositionSource
getDestination()
BlockPos
getOrigin()
static Vibration
readFromBuf(PacketByteBuf buf)
static void
writeToBuf(PacketByteBuf buf, Vibration vibration)
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official a
Lcmb;a:Lcom/mojang/serialization/Codec;
intermediary field_28193
Lnet/minecraft/class_5720;field_28193:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/world/Vibration;CODEC:Lcom/mojang/serialization/Codec;
-
origin
- Mappings:
Namespace Name Mixin selector official b
Lcmb;b:Lfx;
intermediary field_28194
Lnet/minecraft/class_5720;field_28194:Lnet/minecraft/class_2338;
named origin
Lnet/minecraft/world/Vibration;origin:Lnet/minecraft/util/math/BlockPos;
-
destination
- Mappings:
Namespace Name Mixin selector official c
Lcmb;c:Lclx;
intermediary field_28195
Lnet/minecraft/class_5720;field_28195:Lnet/minecraft/class_5716;
named destination
Lnet/minecraft/world/Vibration;destination:Lnet/minecraft/world/event/PositionSource;
-
arrivalInTicks
private final int arrivalInTicks- Mappings:
Namespace Name Mixin selector official d
Lcmb;d:I
intermediary field_28196
Lnet/minecraft/class_5720;field_28196:I
named arrivalInTicks
Lnet/minecraft/world/Vibration;arrivalInTicks:I
-
-
Constructor Details
-
Vibration
- Mappings:
Namespace Name Mixin selector official <init>
Lcmb;<init>(Lfx;Lclx;I)V
intermediary <init>
Lnet/minecraft/class_5720;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_5716;I)V
named <init>
Lnet/minecraft/world/Vibration;<init>(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/world/event/PositionSource;I)V
-
-
Method Details
-
getArrivalInTicks
public int getArrivalInTicks()- Mappings:
Namespace Name Mixin selector official a
Lcmb;a()I
intermediary method_32971
Lnet/minecraft/class_5720;method_32971()I
named getArrivalInTicks
Lnet/minecraft/world/Vibration;getArrivalInTicks()I
-
getOrigin
- Mappings:
Namespace Name Mixin selector official b
Lcmb;b()Lfx;
intermediary method_32976
Lnet/minecraft/class_5720;method_32976()Lnet/minecraft/class_2338;
named getOrigin
Lnet/minecraft/world/Vibration;getOrigin()Lnet/minecraft/util/math/BlockPos;
-
getDestination
- Mappings:
Namespace Name Mixin selector official c
Lcmb;c()Lclx;
intermediary method_32978
Lnet/minecraft/class_5720;method_32978()Lnet/minecraft/class_5716;
named getDestination
Lnet/minecraft/world/Vibration;getDestination()Lnet/minecraft/world/event/PositionSource;
-
readFromBuf
- Mappings:
Namespace Name Mixin selector official a
Lcmb;a(Lnw;)Lcmb;
intermediary method_32974
Lnet/minecraft/class_5720;method_32974(Lnet/minecraft/class_2540;)Lnet/minecraft/class_5720;
named readFromBuf
Lnet/minecraft/world/Vibration;readFromBuf(Lnet/minecraft/network/PacketByteBuf;)Lnet/minecraft/world/Vibration;
-
writeToBuf
- Mappings:
Namespace Name Mixin selector official a
Lcmb;a(Lnw;Lcmb;)V
intermediary method_32975
Lnet/minecraft/class_5720;method_32975(Lnet/minecraft/class_2540;Lnet/minecraft/class_5720;)V
named writeToBuf
Lnet/minecraft/world/Vibration;writeToBuf(Lnet/minecraft/network/PacketByteBuf;Lnet/minecraft/world/Vibration;)V
-