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>
-
Field Summary
Fields Modifier and Type Field Description private MapState.class_5637
field_28016
private MapIcon[]
icons
private int
id
private boolean
locked
private byte
scale
-
Constructor Summary
Constructors Constructor Description MapUpdateS2CPacket()
MapUpdateS2CPacket(int int2, byte byte2, boolean bool, Collection<MapIcon> collection, MapState.class_5637 class_5637)
-
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 -
scale
private byte scale -
locked
private boolean locked -
icons
-
field_28016
-
-
Constructor Details
-
MapUpdateS2CPacket
public MapUpdateS2CPacket() -
MapUpdateS2CPacket
public MapUpdateS2CPacket(int int2, byte byte2, boolean bool, @Nullable Collection<MapIcon> collection, @Nullable MapState.class_5637 class_5637)
-
-
Method Details
-
read
- Specified by:
read
in interfacePacket<ClientPlayPacketListener>
- Throws:
IOException
-
write
- Specified by:
write
in interfacePacket<ClientPlayPacketListener>
- Throws:
IOException
-
apply
- Specified by:
apply
in interfacePacket<ClientPlayPacketListener>
-
getId
@Environment(CLIENT) public int getId() -
apply
-
method_32701
@Environment(CLIENT) public byte method_32701() -
method_32702
@Environment(CLIENT) public boolean method_32702()
-