net.minecraft.network.packet.c2s.play

public class UpdateStructureBlockC2SPacket

implements Packet<ServerPlayPacketListener>

net.minecraft.network.protocol.game.ServerboundSetStructureBlockPacket
net.minecraft.class_2875
net.minecraft.network.packet.c2s.play.UpdateStructureBlockC2SPacket

Field summary

Modifier and TypeField
public static final PacketCodec<PacketByteBuf, UpdateStructureBlockC2SPacket>
STREAM_CODEC
field_48221
CODEC
private static final int
FLAG_IGNORE_ENTITIES
field_33368
IGNORE_ENTITIES_MASK
private static final int
FLAG_SHOW_AIR
field_33369
SHOW_AIR_MASK
private static final int
FLAG_SHOW_BOUNDING_BOX
field_33370
SHOW_BOUNDING_BOX_MASK
private static final int
FLAG_STRICT
field_55581
STRICT_MASK
private final BlockPos
pos
field_13093
pos
private final StructureBlockBlockEntity$Action
updateType
field_13082
action
private final StructureBlockMode
mode
field_13084
mode
private final String
name
field_13080
templateName
private final BlockPos
offset
field_13091
offset
private final Vec3i
size
field_13083
size
private final BlockMirror
mirror
field_13081
mirror
private final BlockRotation
rotation
field_13088
rotation
private final String
data
field_13085
metadata
private final boolean
ignoreEntities
field_13089
ignoreEntities
private final boolean
strict
field_55582
strict
private final boolean
showAir
field_13087
showAir
private final boolean
showBoundingBox
field_13086
showBoundingBox
private final float
integrity
field_13090
integrity
private final long
seed
field_13092
seed

Constructor summary

ModifierConstructor
public (BlockPos pos, StructureBlockBlockEntity$Action action, StructureBlockMode mode, String templateName, BlockPos offset, Vec3i size, BlockMirror mirror, BlockRotation rotation, String metadata, boolean ignoreEntities, boolean strict, boolean showAir, boolean showBoundingBox, float integrity, long seed)
private (PacketByteBuf buf)

Method summary

Modifier and TypeMethod
private void
write(FriendlyByteBuf output)
method_56001(class_2540 arg0)
write(PacketByteBuf buf)
public PacketType<UpdateStructureBlockC2SPacket>
type()
method_65080()
getPacketType()
public void
handle(ServerGamePacketListener listener)
method_12495(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
public BlockPos
getPos()
method_12499()
getPos()
public StructureBlockBlockEntity$Action
getUpdateType()
method_12500()
getAction()
public StructureBlockMode
getMode()
method_12504()
getMode()
public String
getName()
method_12502()
getTemplateName()
public BlockPos
getOffset()
method_12496()
getOffset()
public Vec3i
getSize()
method_12492()
getSize()
public BlockMirror
getMirror()
method_12493()
getMirror()
public BlockRotation
getRotation()
method_12498()
getRotation()
public String
getData()
method_12501()
getMetadata()
public boolean
isIgnoreEntities()
method_12506()
shouldIgnoreEntities()
public boolean
isStrict()
method_65971()
isStrict()
public boolean
isShowAir()
method_12503()
shouldShowAir()
public boolean
isShowBoundingBox()
method_12505()
shouldShowBoundingBox()
public float
getIntegrity()
method_12494()
getIntegrity()
public long
getSeed()
method_12497()
getSeed()
public void
handle(PacketListener listener)
method_65081(class_2547 arg0)
apply(PacketListener arg0)