Class WrapperPlayServerMapData
java.lang.Object
com.github.retrooper.packetevents.wrapper.PacketWrapper<WrapperPlayServerMapData>
com.github.retrooper.packetevents.wrapper.play.server.WrapperPlayServerMapData
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.github.retrooper.packetevents.wrapper.PacketWrapper
PacketWrapper.Reader<T>, PacketWrapper.Writer<T> -
Field Summary
Fields inherited from class com.github.retrooper.packetevents.wrapper.PacketWrapper
buffer, bufferLock, clientVersion, serverVersion, user -
Constructor Summary
ConstructorsConstructorDescriptionWrapperPlayServerMapData(int mapId, byte scale, boolean trackingPosition, boolean locked, @Nullable List<WrapperPlayServerMapData.MapDecoration> decorations, int columns, int rows, int x, int z, byte @Nullable [] data) WrapperPlayServerMapData(int mapId, byte scale, boolean locked, @Nullable List<WrapperPlayServerMapData.MapDecoration> decorations) WrapperPlayServerMapData(int mapId, byte scale, @Nullable List<WrapperPlayServerMapData.MapDecoration> decorations) -
Method Summary
Modifier and TypeMethodDescriptionintbyte @Nullable []getData()@Nullable List<WrapperPlayServerMapData.MapDecoration> intgetMapId()intgetRows()bytegetScale()intgetX()intgetZ()booleanisLocked()booleanvoidread()voidsetColumns(int columns) voidsetData(byte @Nullable [] data) voidsetDecorations(@Nullable List<WrapperPlayServerMapData.MapDecoration> decorations) voidsetLocked(boolean locked) voidsetMapId(int mapId) voidsetRows(int rows) voidsetScale(byte scale) voidsetTrackingPosition(boolean trackingPosition) voidsetX(int x) voidsetZ(int z) voidwrite()Methods inherited from class com.github.retrooper.packetevents.wrapper.PacketWrapper
copy, createUniversalPacketWrapper, getBuffer, getChunkKey, getChunkX, getChunkZ, getClientVersion, getMaxMessageLength, getNativePacketId, getPacketId, getPacketTypeData, getRegistryHolder, getServerVersion, limitValue, prepareForSend, prepareForSend, readArray, readBitSet, readBlockPosition, readBoolean, readByte, readByteArray, readByteArray, readByteArrayOfSize, readBytes, readChatTypeBoundNetwork, readCollection, readComponent, readComponentAsJSON, readComponentAsNBT, readComponentJSON, readContainerId, readDimension, readDouble, readEntityMetadata, readEnum, readEnum, readEnumSet, readEvent, readFilterMask, readFloat, readGameMode, readIdentifier, readIdentifier, readInt, readItemStack, readItemStackModern, readKnownPack, readLastSeenMessages, readLastSeenMessagesEntry, readLastSeenMessagesPacked, readLastSeenMessagesUpdate, readLegacyLastSeenMessagesUpdate, readList, readLong, readLongArray, readLongArray, readMap, readMappedEntity, readMappedEntity, readMappedEntityOrDirect, readMappedEntityOrDirect, readMedium, readMerchantOffer, readMessageSignature, readMessageSignaturePacked, readMultiVersional, readNBT, readNBTRaw, readNode, readNullableVarInt, readOptional, readPresentItemStack, readPublicKey, readPublicProfileKey, readRemainingBytes, readRemoteChatSession, readRotation, readSaltSignature, readShort, readSignatureData, readSignedCommandArguments, readString, readString, readStyle, readTimestamp, readUnlimitedNBT, readUnlimitedNBTRaw, readUnsignedByte, readUnsignedShort, readUUID, readVarInt, readVarIntArray, readVarIntArrayOfSize, readVarLong, readVarShort, readVillagerData, readWorldBlockPosition, resetBuffer, resetByteBuf, setBuffer, setClientVersion, setNativePacketId, setPacketId, setServerVersion, writeArray, writeBitSet, writeBlockPosition, writeBoolean, writeByte, writeByteArray, writeByteArrayOfSize, writeBytes, writeChatTypeBoundNetwork, writeCollection, writeComponent, writeComponentAsJSON, writeComponentAsNBT, writeComponentJSON, writeContainerId, writeDimension, writeDouble, writeEntityMetadata, writeEntityMetadata, writeEnum, writeEnumSet, writeFilterMask, writeFloat, writeGameMode, writeIdentifier, writeIdentifier, writeInt, writeItemStack, writeItemStackModern, writeKnownPack, writeLastMessagesEntry, writeLastSeenMessages, writeLastSeenMessagesPacked, writeLastSeenMessagesUpdate, writeLegacyLastSeenMessagesUpdate, writeList, writeLong, writeLongArray, writeMap, writeMappedEntity, writeMappedEntityOrDirect, writeMedium, writeMerchantOffer, writeMessageSignature, writeMessageSignaturePacked, writeMultiVersional, writeNBT, writeNBTRaw, writeNode, writeNullableVarInt, writeOptional, writePresentItemStack, writePublicKey, writePublicProfileKey, writeRemoteChatSession, writeRotation, writeSaltSignature, writeShort, writeSignatureData, writeSignedCommandArguments, writeString, writeString, writeString, writeStyle, writeTimestamp, writeUUID, writeVarInt, writeVarIntArray, writeVarIntArrayOfSize, writeVarLong, writeVarShort, writeVillagerData, writeWorldBlockPosition
-
Constructor Details
-
WrapperPlayServerMapData
-
WrapperPlayServerMapData
public WrapperPlayServerMapData(int mapId, byte scale, @Nullable @Nullable List<WrapperPlayServerMapData.MapDecoration> decorations) -
WrapperPlayServerMapData
public WrapperPlayServerMapData(int mapId, byte scale, boolean locked, @Nullable @Nullable List<WrapperPlayServerMapData.MapDecoration> decorations) -
WrapperPlayServerMapData
public WrapperPlayServerMapData(int mapId, byte scale, boolean trackingPosition, boolean locked, @Nullable @Nullable List<WrapperPlayServerMapData.MapDecoration> decorations, int columns, int rows, int x, int z, byte @Nullable [] data)
-
-
Method Details
-
read
public void read()- Overrides:
readin classPacketWrapper<WrapperPlayServerMapData>
-
write
public void write()- Overrides:
writein classPacketWrapper<WrapperPlayServerMapData>
-
getMapId
public int getMapId() -
setMapId
public void setMapId(int mapId) -
getScale
public byte getScale() -
setScale
public void setScale(byte scale) -
isTrackingPosition
public boolean isTrackingPosition() -
setTrackingPosition
public void setTrackingPosition(boolean trackingPosition) -
isLocked
public boolean isLocked() -
setLocked
public void setLocked(boolean locked) -
getDecorations
-
setDecorations
public void setDecorations(@Nullable @Nullable List<WrapperPlayServerMapData.MapDecoration> decorations) -
getColumns
public int getColumns() -
setColumns
public void setColumns(int columns) -
getRows
public int getRows() -
setRows
public void setRows(int rows) -
getX
public int getX() -
setX
public void setX(int x) -
getZ
public int getZ() -
setZ
public void setZ(int z) -
getData
public byte @Nullable [] getData() -
setData
public void setData(byte @Nullable [] data)
-