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 Summary
Fields Modifier and Type Field Description private MapIcon[]
icons
private int
id
private boolean
locked
private byte
scale
private MapState.UpdateData
updateData
-
Constructor Summary
Constructors Constructor Description MapUpdateS2CPacket()
MapUpdateS2CPacket(int id, byte scale, boolean showIcons, Collection<MapIcon> icons, MapState.UpdateData updateData)
-
Method Summary
Modifier and Type Method Description void
apply(MapState mapState)
void
apply(ClientPlayPacketListener clientPlayPacketListener)
int
getId()
byte
method_32701()
boolean
method_32702()
void
read(PacketByteBuf buf)
void
write(PacketByteBuf buf)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.Packet
isWritingErrorSkippable
-
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
- 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
- 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
- Specified by:
read
in interfacePacket<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
- Specified by:
write
in interfacePacket<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
- Specified by:
apply
in interfacePacket<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
- 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
- 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
- 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
- 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
-