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 Summary
FieldsModifier and TypeFieldDescriptionprivate Stringprivate static intprivate static intprivate static intprivate booleanprivate floatprivate Mirrorprivate StructureModeprivate Stringprivate BlockPosprivate BlockPosprivate Rotationprivate longprivate booleanprivate booleanprivate Vec3iprivate StructureBlockEntity.UpdateType -
Constructor Summary
ConstructorsConstructorDescriptionServerboundSetStructureBlockPacket(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 Summary
Modifier and TypeMethodDescriptiongetData()floatgetMode()getName()getPos()longgetSeed()getSize()voidhandle(ServerGamePacketListener p_134628_)booleanbooleanbooleanvoidwrite(FriendlyByteBuf p_134631_)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.protocol.Packet
isSkippable
-
Field Details
-
FLAG_IGNORE_ENTITIES
private static final int FLAG_IGNORE_ENTITIES- See Also:
- Constant Field Values
-
FLAG_SHOW_AIR
private static final int FLAG_SHOW_AIR- See Also:
- Constant Field Values
-
FLAG_SHOW_BOUNDING_BOX
private static final int FLAG_SHOW_BOUNDING_BOX- See Also:
- Constant Field Values
-
pos
-
updateType
-
mode
-
name
-
offset
-
size
-
mirror
-
rotation
-
data
-
ignoreEntities
private final boolean ignoreEntities -
showAir
private final boolean showAir -
showBoundingBox
private final boolean showBoundingBox -
integrity
private final float integrity -
seed
private final long seed
-
-
Constructor Details
-
ServerboundSetStructureBlockPacket
public 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 interfacePacket<ServerGamePacketListener>
-
handle
- Specified by:
handlein interfacePacket<ServerGamePacketListener>
-
getPos
-
getUpdateType
-
getMode
-
getName
-
getOffset
-
getSize
-
getMirror
-
getRotation
-
getData
-
isIgnoreEntities
public boolean isIgnoreEntities() -
isShowAir
public boolean isShowAir() -
isShowBoundingBox
public boolean isShowBoundingBox() -
getIntegrity
public float getIntegrity() -
getSeed
public long getSeed()
-