Class VibrationS2CPacket

java.lang.Object
net.minecraft.network.packet.s2c.play.VibrationS2CPacket
All Implemented Interfaces:
Packet<ClientPlayPacketListener>

public class VibrationS2CPacket extends Object implements Packet<ClientPlayPacketListener>
Mappings:
Namespace Name
official pt
intermediary net/minecraft/class_5747
named net/minecraft/network/packet/s2c/play/VibrationS2CPacket
  • Field Details

    • vibration

      private final Vibration vibration
      Mappings:
      Namespace Name Mixin selector
      official a Lpt;a:Lcpd;
      intermediary field_28283 Lnet/minecraft/class_5747;field_28283:Lnet/minecraft/class_5720;
      named vibration Lnet/minecraft/network/packet/s2c/play/VibrationS2CPacket;vibration:Lnet/minecraft/world/Vibration;
  • Constructor Details

    • VibrationS2CPacket

      public VibrationS2CPacket(Vibration vibration)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lpt;<init>(Lcpd;)V
      intermediary <init> Lnet/minecraft/class_5747;<init>(Lnet/minecraft/class_5720;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/VibrationS2CPacket;<init>(Lnet/minecraft/world/Vibration;)V
    • VibrationS2CPacket

      public VibrationS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lpt;<init>(Log;)V
      intermediary <init> Lnet/minecraft/class_5747;<init>(Lnet/minecraft/class_2540;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/VibrationS2CPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
  • Method Details

    • write

      public void write(PacketByteBuf buf)
      Specified by:
      write in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lpk;a(Log;)V
      intermediary method_11052 Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
      named write Lnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
    • apply

      public void apply(ClientPlayPacketListener clientPlayPacketListener)
      Specified by:
      apply in interface Packet<ClientPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lpt;a(Lpn;)V
      intermediary method_33136 Lnet/minecraft/class_5747;method_33136(Lnet/minecraft/class_2602;)V
      named apply Lnet/minecraft/network/packet/s2c/play/VibrationS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
    • getVibration

      public Vibration getVibration()
      Mappings:
      Namespace Name Mixin selector
      official b Lpt;b()Lcpd;
      intermediary method_33137 Lnet/minecraft/class_5747;method_33137()Lnet/minecraft/class_5720;
      named getVibration Lnet/minecraft/network/packet/s2c/play/VibrationS2CPacket;getVibration()Lnet/minecraft/world/Vibration;