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
Modifier and TypeFieldDescriptionprivate String
private static int
private static int
private static int
private boolean
private float
private Mirror
private StructureMode
private String
private BlockPos
private BlockPos
private Rotation
private long
private boolean
private boolean
private Vec3i
private StructureBlockEntity.UpdateType
-
Constructor Summary
ConstructorDescriptionServerboundSetStructureBlockPacket(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()
float
getMode()
getName()
getPos()
long
getSeed()
getSize()
void
handle(ServerGamePacketListener p_134628_)
boolean
boolean
boolean
void
write(FriendlyByteBuf p_134631_)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
write
in interfacePacket<ServerGamePacketListener>
-
handle
- Specified by:
handle
in 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()
-