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 qq
intermediary net/minecraft/class_2683
named net/minecraft/network/packet/s2c/play/MapUpdateS2CPacket
  • Field Details

    • id

      private int id
      Mappings:
      Namespace Name Mixin selector
      official a Lqq;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 byte scale
      Mappings:
      Namespace Name Mixin selector
      official b Lqq;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 boolean locked
      Mappings:
      Namespace Name Mixin selector
      official c Lqq;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 MapIcon[] icons
      Mappings:
      Namespace Name Mixin selector
      official d Lqq;d:[Lddi;
      intermediary field_12304 Lnet/minecraft/class_2683;field_12304:[Lnet/minecraft/class_20;
      named icons Lnet/minecraft/network/packet/s2c/play/MapUpdateS2CPacket;icons:[Lnet/minecraft/item/map/MapIcon;
    • updateData

      @Nullable private MapState.UpdateData updateData
      Mappings:
      Namespace Name Mixin selector
      official e Lqq;e:Lddl$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()
    • MapUpdateS2CPacket

      public MapUpdateS2CPacket​(int id, byte scale, boolean showIcons, @Nullable Collection<MapIcon> icons, @Nullable MapState.UpdateData updateData)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lqq;<init>(IBZLjava/util/Collection;Lddl$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
  • 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 Lqq;a(Lpd;)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

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

      @Environment(CLIENT) public void apply​(MapState mapState)
      Mappings:
      Namespace Name Mixin selector
      official a Lqq;a(Lddl;)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
    • method_32701

      @Environment(CLIENT) public byte method_32701()
      Mappings:
      Namespace Name Mixin selector
      official c Lqq;c()B
      intermediary method_32701 Lnet/minecraft/class_2683;method_32701()B
      named method_32701 Lnet/minecraft/network/packet/s2c/play/MapUpdateS2CPacket;method_32701()B
    • method_32702

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