Class SMapDataPacket
java.lang.Object
net.minecraft.network.play.server.SMapDataPacket
- All Implemented Interfaces:
IPacket<IClientPlayNetHandler>
-
Field Summary
Modifier and TypeFieldDescriptionprivate MapDecoration[]
private int
private boolean
private byte[]
private int
private byte
private int
private int
private boolean
private int
-
Constructor Summary
ConstructorDescriptionSMapDataPacket
(int p_i50772_1_, byte p_i50772_2_, boolean p_i50772_3_, boolean p_i50772_4_, Collection<MapDecoration> p_i50772_5_, byte[] p_i50772_6_, int p_i50772_7_, int p_i50772_8_, int p_i50772_9_, int p_i50772_10_) -
Method Summary
Modifier and TypeMethodDescriptionvoid
applyToMap
(MapData p_179734_1_) int
getMapId()
void
handle
(IClientPlayNetHandler p_148833_1_) void
read
(PacketBuffer p_148837_1_) void
write
(PacketBuffer p_148840_1_) 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.IPacket
isSkippable
-
Field Details
-
mapId
private int mapId -
scale
private byte scale -
trackingPosition
private boolean trackingPosition -
locked
private boolean locked -
decorations
-
startX
private int startX -
startY
private int startY -
width
private int width -
height
private int height -
mapColors
private byte[] mapColors
-
-
Constructor Details
-
SMapDataPacket
public SMapDataPacket() -
SMapDataPacket
public SMapDataPacket(int p_i50772_1_, byte p_i50772_2_, boolean p_i50772_3_, boolean p_i50772_4_, Collection<MapDecoration> p_i50772_5_, byte[] p_i50772_6_, int p_i50772_7_, int p_i50772_8_, int p_i50772_9_, int p_i50772_10_)
-
-
Method Details
-
read
- Specified by:
read
in interfaceIPacket<IClientPlayNetHandler>
- Throws:
IOException
-
write
- Specified by:
write
in interfaceIPacket<IClientPlayNetHandler>
- Throws:
IOException
-
handle
- Specified by:
handle
in interfaceIPacket<IClientPlayNetHandler>
-
getMapId
public int getMapId() -
applyToMap
-