Class WrapperPlayClientSetStructureBlock
java.lang.Object
com.github.retrooper.packetevents.wrapper.PacketWrapper<WrapperPlayClientSetStructureBlock>
com.github.retrooper.packetevents.wrapper.play.client.WrapperPlayClientSetStructureBlock
public class WrapperPlayClientSetStructureBlock
extends PacketWrapper<WrapperPlayClientSetStructureBlock>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
static enum
Nested 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
ConstructorsConstructorDescriptionWrapperPlayClientSetStructureBlock
(Vector3i position, WrapperPlayClientSetStructureBlock.UpdateType updateType, WrapperPlayClientSetStructureBlock.StructureMode mode, String name, Vector3i offset, Vector3i size, StructureMirror mirror, StructureRotation rotation, String data, boolean ignoreEntities, boolean strict, boolean showAir, boolean showBoundingBox, float integrity, long seed) WrapperPlayClientSetStructureBlock
(Vector3i position, WrapperPlayClientSetStructureBlock.UpdateType updateType, WrapperPlayClientSetStructureBlock.StructureMode mode, String name, Vector3i offset, Vector3i size, StructureMirror mirror, StructureRotation rotation, String data, boolean ignoreEntities, boolean showAir, boolean showBoundingBox, float integrity, long seed) -
Method Summary
Modifier and TypeMethodDescriptionvoid
copy
(WrapperPlayClientSetStructureBlock wrapper) getData()
float
getMode()
getName()
long
getSeed()
getSize()
boolean
boolean
boolean
boolean
isStrict()
Added with 1.21.5void
read()
void
void
setIgnoreEntities
(boolean ignoreEntities) void
setIntegrity
(float integrity) void
setMirror
(StructureMirror mirror) void
void
void
void
setPosition
(Vector3i position) void
setRotation
(StructureRotation rotation) void
setSeed
(long seed) void
setShowAir
(boolean showAir) void
setShowBoundingBox
(boolean showBoundingBox) void
void
setStrict
(boolean strict) Added with 1.21.5void
void
write()
Methods inherited from class com.github.retrooper.packetevents.wrapper.PacketWrapper
createUniversalPacketWrapper, createUniversalPacketWrapper, getBuffer, getChunkKey, getChunkX, getChunkZ, getClientVersion, getMaxMessageLength, getNativePacketId, getPacketId, getPacketTypeData, getRegistryHolder, getSerializers, getServerVersion, limitValue, prepareForSend, prepareForSend, readArray, readBitSet, readBlockPosition, readBoolean, readByte, readByteArray, readByteArray, readByteArrayOfSize, readBytes, readChatTypeBoundNetwork, readCollection, readComponent, readComponentAsJSON, readComponentAsNBT, readComponentJSON, readContainerId, readDimension, readDouble, readEither, readEntityMetadata, readEnum, readEnum, readEnumSet, readEvent, readFilterMask, readFloat, readGameMode, readIdentifier, readIdentifier, readInt, readItemStack, readItemStackModern, readJavaOptional, readKnownPack, readLastSeenMessages, readLastSeenMessagesEntry, readLastSeenMessagesPacked, readLastSeenMessagesUpdate, readLegacyLastSeenMessagesUpdate, readList, readLong, readLongArray, readLongArray, readMap, 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, writeEither, writeEntityMetadata, writeEntityMetadata, writeEnum, writeEnumSet, writeFilterMask, writeFloat, writeGameMode, writeIdentifier, writeIdentifier, writeInt, writeItemStack, writeItemStackModern, writeJavaOptional, 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
-
WrapperPlayClientSetStructureBlock
-
WrapperPlayClientSetStructureBlock
public WrapperPlayClientSetStructureBlock(Vector3i position, WrapperPlayClientSetStructureBlock.UpdateType updateType, WrapperPlayClientSetStructureBlock.StructureMode mode, String name, Vector3i offset, Vector3i size, StructureMirror mirror, StructureRotation rotation, String data, boolean ignoreEntities, boolean showAir, boolean showBoundingBox, float integrity, long seed) -
WrapperPlayClientSetStructureBlock
public WrapperPlayClientSetStructureBlock(Vector3i position, WrapperPlayClientSetStructureBlock.UpdateType updateType, WrapperPlayClientSetStructureBlock.StructureMode mode, String name, Vector3i offset, Vector3i size, StructureMirror mirror, StructureRotation rotation, String data, boolean ignoreEntities, boolean strict, boolean showAir, boolean showBoundingBox, float integrity, long seed)
-
-
Method Details
-
read
public void read()- Overrides:
read
in classPacketWrapper<WrapperPlayClientSetStructureBlock>
-
write
public void write()- Overrides:
write
in classPacketWrapper<WrapperPlayClientSetStructureBlock>
-
copy
- Overrides:
copy
in classPacketWrapper<WrapperPlayClientSetStructureBlock>
-
getPosition
-
setPosition
-
getUpdateType
-
setUpdateType
-
getMode
-
setMode
-
getName
-
setName
-
getOffset
-
setOffset
-
getSize
-
setSize
-
getMirror
-
setMirror
-
getRotation
-
setRotation
-
getData
-
setData
-
isIgnoreEntities
public boolean isIgnoreEntities() -
setIgnoreEntities
public void setIgnoreEntities(boolean ignoreEntities) -
isStrict
public boolean isStrict()Added with 1.21.5 -
setStrict
public void setStrict(boolean strict) Added with 1.21.5 -
isShowAir
public boolean isShowAir() -
setShowAir
public void setShowAir(boolean showAir) -
isShowBoundingBox
public boolean isShowBoundingBox() -
setShowBoundingBox
public void setShowBoundingBox(boolean showBoundingBox) -
getIntegrity
public float getIntegrity() -
setIntegrity
public void setIntegrity(float integrity) -
getSeed
public long getSeed() -
setSeed
public void setSeed(long seed)
-