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 Stringprivate static intprivate static intprivate static intprivate booleanprivate floatprivate Mirrorprivate StructureModeprivate Stringprivate BlockPosprivate BlockPosprivate Rotationprivate longprivate booleanprivate booleanprivate Vec3iprivate 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_)ServerboundSetStructureBlockPacket(FriendlyByteBuf p_179786_)
- 
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
- 
Field Details- 
FLAG_IGNORE_ENTITIESprivate static final int FLAG_IGNORE_ENTITIES- See Also:
- Constant Field Values
 
- 
FLAG_SHOW_AIRprivate static final int FLAG_SHOW_AIR- See Also:
- Constant Field Values
 
- 
FLAG_SHOW_BOUNDING_BOXprivate static final int FLAG_SHOW_BOUNDING_BOX- See Also:
- Constant Field Values
 
- 
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()
 
-