Class Vibration

java.lang.Object
net.minecraft.world.Vibration

public class Vibration extends Object
Mappings:
Namespace Name
official csg
intermediary net/minecraft/class_5720
named net/minecraft/world/Vibration
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<Vibration> CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Lcsg;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

      private final BlockPos origin
      Mappings:
      Namespace Name Mixin selector
      official b Lcsg;b:Lgh;
      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

      private final PositionSource destination
      Mappings:
      Namespace Name Mixin selector
      official c Lcsg;c:Lcsc;
      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 Lcsg;d:I
      intermediary field_28196 Lnet/minecraft/class_5720;field_28196:I
      named arrivalInTicks Lnet/minecraft/world/Vibration;arrivalInTicks:I
  • Constructor Details

    • Vibration

      public Vibration(BlockPos origin, PositionSource destination, int arrivalInTicks)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcsg;<init>(Lgh;Lcsc;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 Lcsg;a()I
      intermediary method_32971 Lnet/minecraft/class_5720;method_32971()I
      named getArrivalInTicks Lnet/minecraft/world/Vibration;getArrivalInTicks()I
    • getOrigin

      public BlockPos getOrigin()
      Mappings:
      Namespace Name Mixin selector
      official b Lcsg;b()Lgh;
      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

      public PositionSource getDestination()
      Mappings:
      Namespace Name Mixin selector
      official c Lcsg;c()Lcsc;
      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

      public static Vibration readFromBuf(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official a Lcsg;a(Lph;)Lcsg;
      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

      public static void writeToBuf(PacketByteBuf buf, Vibration vibration)
      Mappings:
      Namespace Name Mixin selector
      official a Lcsg;a(Lph;Lcsg;)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