Class ServerboundSetStructureBlockPacket
java.lang.Object
net.minecraft.network.protocol.game.ServerboundSetStructureBlockPacket
- All Implemented Interfaces:
- Packet<ServerGamePacketListener>
public class ServerboundSetStructureBlockPacket
extends Object
implements Packet<ServerGamePacketListener>
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final Stringprivate static final intprivate static final intprivate static final intprivate final booleanprivate final floatprivate final Mirrorprivate final StructureModeprivate final Stringprivate final BlockPosprivate final BlockPosprivate final Rotationprivate final longprivate final booleanprivate final booleanprivate final Vec3iprivate final StructureBlockEntity.UpdateType
- 
Constructor SummaryConstructorsConstructorDescriptionServerboundSetStructureBlockPacket(BlockPos p_179771_, StructureBlockEntity.UpdateType p_179772_, StructureMode p_179773_, String p_179774_, BlockPos p_179775_, Vec3i p_179776_, Mirror p_179777_, Rotation p_179778_, String p_179779_, boolean p_179780_, boolean p_179781_, boolean p_179782_, float p_179783_, long p_179784_) 
- 
Method SummaryModifier and TypeMethodDescriptiongetData()floatgetMode()getName()getPos()longgetSeed()getSize()voidhandle(ServerGamePacketListener p_134628_) booleanbooleanbooleanvoidwrite(FriendlyByteBuf p_134631_) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.protocol.PacketisSkippable, nextProtocol
- 
Field Details- 
FLAG_IGNORE_ENTITIESprivate static final int FLAG_IGNORE_ENTITIES- See Also:
 
- 
FLAG_SHOW_AIRprivate static final int FLAG_SHOW_AIR- See Also:
 
- 
FLAG_SHOW_BOUNDING_BOXprivate static final int FLAG_SHOW_BOUNDING_BOX- See Also:
 
- 
pos
- 
updateType
- 
mode
- 
name
- 
offset
- 
size
- 
mirror
- 
rotation
- 
data
- 
ignoreEntitiesprivate final boolean ignoreEntities
- 
showAirprivate final boolean showAir
- 
showBoundingBoxprivate final boolean showBoundingBox
- 
integrityprivate final float integrity
- 
seedprivate final long seed
 
- 
- 
Constructor Details- 
ServerboundSetStructureBlockPacketpublic ServerboundSetStructureBlockPacket(BlockPos p_179771_, StructureBlockEntity.UpdateType p_179772_, StructureMode p_179773_, String p_179774_, BlockPos p_179775_, Vec3i p_179776_, Mirror p_179777_, Rotation p_179778_, String p_179779_, boolean p_179780_, boolean p_179781_, boolean p_179782_, float p_179783_, long p_179784_) 
- 
ServerboundSetStructureBlockPacket
 
- 
- 
Method Details- 
write- Specified by:
- writein interface- Packet<ServerGamePacketListener>
 
- 
handle- Specified by:
- handlein interface- Packet<ServerGamePacketListener>
 
- 
getPos
- 
getUpdateType
- 
getMode
- 
getName
- 
getOffset
- 
getSize
- 
getMirror
- 
getRotation
- 
getData
- 
isIgnoreEntitiespublic boolean isIgnoreEntities()
- 
isShowAirpublic boolean isShowAir()
- 
isShowBoundingBoxpublic boolean isShowBoundingBox()
- 
getIntegritypublic float getIntegrity()
- 
getSeedpublic long getSeed()
 
-