net.minecraft.network.protocol.game

public class ServerboundSetStructureBlockPacket

implements Packet<ServerGamePacketListener>

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

Field summary

Modifier and TypeField
public static final StreamCodec<FriendlyByteBuf, ServerboundSetStructureBlockPacket>
a
STREAM_CODEC
field_48221
CODEC
private static final int
b
FLAG_IGNORE_ENTITIES
field_33368
IGNORE_ENTITIES_MASK
private static final int
c
FLAG_SHOW_AIR
field_33369
SHOW_AIR_MASK
private static final int
d
FLAG_SHOW_BOUNDING_BOX
field_33370
SHOW_BOUNDING_BOX_MASK
private final BlockPos
e
pos
field_13093
pos
private final StructureBlockEntity$UpdateType
f
updateType
field_13082
action
private final StructureMode
g
mode
field_13084
mode
private final String
h
name
field_13080
templateName
private final BlockPos
i
offset
field_13091
offset
private final Vec3i
j
size
field_13083
size
private final Mirror
k
mirror
field_13081
mirror
private final Rotation
l
rotation
field_13088
rotation
private final String
m
data
field_13085
metadata
private final boolean
n
ignoreEntities
field_13089
ignoreEntities
private final boolean
o
showAir
field_13087
showAir
private final boolean
p
showBoundingBox
field_13086
showBoundingBox
private final float
q
integrity
field_13090
integrity
private final long
r
seed
field_13092
seed

Constructor summary

ModifierConstructor
public (BlockPos pos, StructureBlockEntity$UpdateType action, StructureMode mode, String templateName, BlockPos offset, Vec3i size, Mirror mirror, Rotation rotation, String metadata, boolean ignoreEntities, boolean showAir, boolean showBoundingBox, float integrity, long seed)
private (FriendlyByteBuf buf)

Method summary

Modifier and TypeMethod
private void
a(ws arg0)
write(FriendlyByteBuf arg0)
method_56001(class_2540 arg0)
write(PacketByteBuf buf)
public PacketType<ServerboundSetStructureBlockPacket>
a()
type()
method_55846()
getPacketId()
public void
a(ahm arg0)
handle(ServerGamePacketListener arg0)
method_12495(class_2792 arg0)
apply(ServerPlayPacketListener arg0)
public BlockPos
b()
getPos()
method_12499()
getPos()
public StructureBlockEntity$UpdateType
e()
getUpdateType()
method_12500()
getAction()
public StructureMode
f()
getMode()
method_12504()
getMode()
public String
g()
getName()
method_12502()
getTemplateName()
public BlockPos
h()
getOffset()
method_12496()
getOffset()
public Vec3i
i()
getSize()
method_12492()
getSize()
public Mirror
j()
getMirror()
method_12493()
getMirror()
public Rotation
k()
getRotation()
method_12498()
getRotation()
public String
l()
getData()
method_12501()
getMetadata()
public boolean
m()
isIgnoreEntities()
method_12506()
shouldIgnoreEntities()
public boolean
n()
isShowAir()
method_12503()
shouldShowAir()
public boolean
o()
isShowBoundingBox()
method_12505()
shouldShowBoundingBox()
public float
p()
getIntegrity()
method_12494()
getIntegrity()
public long
q()
getSeed()
method_12497()
getSeed()