Class MapUpdateS2CPacket

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

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

    • id

      private final int id
      Mappings:
      Namespace Name Mixin selector
      official a Lwj;a:I
      intermediary field_12303 Lnet/minecraft/class_2683;field_12303:I
      named id Lnet/minecraft/network/packet/s2c/play/MapUpdateS2CPacket;id:I
    • scale

      private final byte scale
      Mappings:
      Namespace Name Mixin selector
      official b Lwj;b:B
      intermediary field_12296 Lnet/minecraft/class_2683;field_12296:B
      named scale Lnet/minecraft/network/packet/s2c/play/MapUpdateS2CPacket;scale:B
    • locked

      private final boolean locked
      Mappings:
      Namespace Name Mixin selector
      official c Lwj;c:Z
      intermediary field_17433 Lnet/minecraft/class_2683;field_17433:Z
      named locked Lnet/minecraft/network/packet/s2c/play/MapUpdateS2CPacket;locked:Z
    • icons

      @Nullable private final @Nullable List<MapIcon> icons
      Mappings:
      Namespace Name Mixin selector
      official d Lwj;d:Ljava/util/List;
      intermediary field_12304 Lnet/minecraft/class_2683;field_12304:Ljava/util/List;
      named icons Lnet/minecraft/network/packet/s2c/play/MapUpdateS2CPacket;icons:Ljava/util/List;
    • updateData

      @Nullable private final MapState.UpdateData updateData
      Mappings:
      Namespace Name Mixin selector
      official e Lwj;e:Ldyg$b;
      intermediary field_28016 Lnet/minecraft/class_2683;field_28016:Lnet/minecraft/class_22$class_5637;
      named updateData Lnet/minecraft/network/packet/s2c/play/MapUpdateS2CPacket;updateData:Lnet/minecraft/item/map/MapState$UpdateData;
  • Constructor Details

    • MapUpdateS2CPacket

      public MapUpdateS2CPacket(int id, byte scale, boolean locked, @Nullable @Nullable Collection<MapIcon> icons, @Nullable MapState.UpdateData updateData)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lwj;<init>(IBZLjava/util/Collection;Ldyg$b;)V
      intermediary <init> Lnet/minecraft/class_2683;<init>(IBZLjava/util/Collection;Lnet/minecraft/class_22$class_5637;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/MapUpdateS2CPacket;<init>(IBZLjava/util/Collection;Lnet/minecraft/item/map/MapState$UpdateData;)V
    • MapUpdateS2CPacket

      public MapUpdateS2CPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lwj;<init>(Lsf;)V
      intermediary <init> Lnet/minecraft/class_2683;<init>(Lnet/minecraft/class_2540;)V
      named <init> Lnet/minecraft/network/packet/s2c/play/MapUpdateS2CPacket;<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 Luo;a(Lsf;)V
      intermediary method_11052 Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
      named write Lnet/minecraft/network/packet/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 Lwj;a(Lur;)V
      intermediary method_11643 Lnet/minecraft/class_2683;method_11643(Lnet/minecraft/class_2602;)V
      named apply Lnet/minecraft/network/packet/s2c/play/MapUpdateS2CPacket;apply(Lnet/minecraft/network/listener/ClientPlayPacketListener;)V
    • getId

      public int getId()
      Mappings:
      Namespace Name Mixin selector
      official a Lwj;a()I
      intermediary method_11644 Lnet/minecraft/class_2683;method_11644()I
      named getId Lnet/minecraft/network/packet/s2c/play/MapUpdateS2CPacket;getId()I
    • apply

      public void apply(MapState mapState)
      Mappings:
      Namespace Name Mixin selector
      official a Lwj;a(Ldyg;)V
      intermediary method_11642 Lnet/minecraft/class_2683;method_11642(Lnet/minecraft/class_22;)V
      named apply Lnet/minecraft/network/packet/s2c/play/MapUpdateS2CPacket;apply(Lnet/minecraft/item/map/MapState;)V
    • getScale

      public byte getScale()
      Mappings:
      Namespace Name Mixin selector
      official c Lwj;c()B
      intermediary method_32701 Lnet/minecraft/class_2683;method_32701()B
      named getScale Lnet/minecraft/network/packet/s2c/play/MapUpdateS2CPacket;getScale()B
    • isLocked

      public boolean isLocked()
      Mappings:
      Namespace Name Mixin selector
      official d Lwj;d()Z
      intermediary method_32702 Lnet/minecraft/class_2683;method_32702()Z
      named isLocked Lnet/minecraft/network/packet/s2c/play/MapUpdateS2CPacket;isLocked()Z