Class SMapDataPacket
- java.lang.Object
-
- net.minecraft.network.play.server.SMapDataPacket
-
- All Implemented Interfaces:
IPacket<IClientPlayNetHandler>
public class SMapDataPacket extends java.lang.Object implements IPacket<IClientPlayNetHandler>
-
-
Field Summary
Fields Modifier and Type Field Description private MapDecoration[]
decorations
private int
height
private boolean
locked
private byte[]
mapColors
private int
mapId
private byte
scale
private int
startX
private int
startY
private boolean
trackingPosition
private int
width
-
Constructor Summary
Constructors Constructor Description SMapDataPacket()
SMapDataPacket(int p_i50772_1_, byte p_i50772_2_, boolean p_i50772_3_, boolean p_i50772_4_, java.util.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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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 Detail
-
mapId
private int mapId
-
scale
private byte scale
-
trackingPosition
private boolean trackingPosition
-
locked
private boolean locked
-
decorations
private MapDecoration[] decorations
-
startX
private int startX
-
startY
private int startY
-
width
private int width
-
height
private int height
-
mapColors
private byte[] mapColors
-
-
Constructor Detail
-
SMapDataPacket
public SMapDataPacket()
-
SMapDataPacket
public SMapDataPacket(int p_i50772_1_, byte p_i50772_2_, boolean p_i50772_3_, boolean p_i50772_4_, java.util.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 Detail
-
read
public void read(PacketBuffer p_148837_1_) throws java.io.IOException
- Specified by:
read
in interfaceIPacket<IClientPlayNetHandler>
- Throws:
java.io.IOException
-
write
public void write(PacketBuffer p_148840_1_) throws java.io.IOException
- Specified by:
write
in interfaceIPacket<IClientPlayNetHandler>
- Throws:
java.io.IOException
-
handle
public void handle(IClientPlayNetHandler p_148833_1_)
- Specified by:
handle
in interfaceIPacket<IClientPlayNetHandler>
-
getMapId
public int getMapId()
-
applyToMap
public void applyToMap(MapData p_179734_1_)
-
-