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 pj
intermediary net/minecraft/class_5747
named net/minecraft/network/packet/s2c/play/VibrationS2CPacket
  • Field Details

    • vibration

      private Vibration vibration
      Mappings:
      Namespace Name Mixin selector
      official a Lpj;a:Lcmb;
      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()
    • VibrationS2CPacket

      public VibrationS2CPacket​(Vibration vibration)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lpj;<init>(Lcmb;)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
  • Method Details

    • read

      public void read​(PacketByteBuf buf) throws IOException
      Specified by:
      read in interface Packet<ClientPlayPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lpa;a(Lnw;)V
      intermediary method_11053 Lnet/minecraft/class_2596;method_11053(Lnet/minecraft/class_2540;)V
      named read Lnet/minecraft/network/Packet;read(Lnet/minecraft/network/PacketByteBuf;)V
    • write

      public void write​(PacketByteBuf buf) throws IOException
      Specified by:
      write in interface Packet<ClientPlayPacketListener>
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official b Lpa;b(Lnw;)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 Lpj;a(Lpd;)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

      @Environment(CLIENT) public Vibration getVibration()
      Mappings:
      Namespace Name Mixin selector
      official b Lpj;b()Lcmb;
      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;