public class SPacketMaps extends java.lang.Object implements Packet<INetHandlerPlayClient>
Modifier and Type | Field and Description |
---|---|
private int |
columns |
private MapDecoration[] |
icons |
private byte[] |
mapDataBytes |
private int |
mapId |
private byte |
mapScale |
private int |
minX |
private int |
minZ |
private int |
rows |
private boolean |
trackingPosition |
Constructor and Description |
---|
SPacketMaps() |
SPacketMaps(int mapIdIn,
byte mapScaleIn,
boolean trackingPositionIn,
java.util.Collection<MapDecoration> iconsIn,
byte[] p_i46937_5_,
int minXIn,
int minZIn,
int columnsIn,
int rowsIn) |
Modifier and Type | Method and Description |
---|---|
int |
getMapId() |
void |
processPacket(INetHandlerPlayClient handler) |
void |
readPacketData(PacketBuffer buf) |
void |
setMapdataTo(MapData mapdataIn) |
void |
writePacketData(PacketBuffer buf) |
private int mapId
private byte mapScale
private boolean trackingPosition
private MapDecoration[] icons
private int minX
private int minZ
private int columns
private int rows
private byte[] mapDataBytes
public SPacketMaps()
public SPacketMaps(int mapIdIn, byte mapScaleIn, boolean trackingPositionIn, java.util.Collection<MapDecoration> iconsIn, byte[] p_i46937_5_, int minXIn, int minZIn, int columnsIn, int rowsIn)
public void readPacketData(PacketBuffer buf) throws java.io.IOException
readPacketData
in interface Packet<INetHandlerPlayClient>
java.io.IOException
public void writePacketData(PacketBuffer buf) throws java.io.IOException
writePacketData
in interface Packet<INetHandlerPlayClient>
java.io.IOException
public void processPacket(INetHandlerPlayClient handler)
processPacket
in interface Packet<INetHandlerPlayClient>
public int getMapId()
public void setMapdataTo(MapData mapdataIn)