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 final String
private static final int
private static final int
private static final int
private final boolean
private final float
private final Mirror
private final StructureMode
private final String
private final BlockPos
private final BlockPos
private final Rotation
private final long
private final boolean
private final boolean
private final Vec3i
static final StreamCodec
<FriendlyByteBuf, ServerboundSetStructureBlockPacket> private final StructureBlockEntity.UpdateType
-
Constructor Summary
ModifierConstructorDescriptionServerboundSetStructureBlockPacket
(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_) private
-
Method Summary
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, isTerminal
-
Field Details
-
STREAM_CODEC
-
FLAG_IGNORE_ENTITIES
private static final int FLAG_IGNORE_ENTITIES- See Also:
-
FLAG_SHOW_AIR
private static final int FLAG_SHOW_AIR- See Also:
-
FLAG_SHOW_BOUNDING_BOX
private static final int FLAG_SHOW_BOUNDING_BOX- See Also:
-
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
-
type
- Specified by:
type
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()
-