Class UpdateStructureBlockC2SPacket
java.lang.Object
net.minecraft.network.packet.c2s.play.UpdateStructureBlockC2SPacket
- All Implemented Interfaces:
Packet<ServerPlayPacketListener>
public class UpdateStructureBlockC2SPacket
extends Object
implements Packet<ServerPlayPacketListener>
- Mappings:
Namespace Name named net/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket
intermediary net/minecraft/class_2875
official aio
-
Field Summary
Modifier and TypeFieldDescriptionprivate final StructureBlockBlockEntity.Action
static final PacketCodec
<PacketByteBuf, UpdateStructureBlockC2SPacket> private static final int
private final boolean
private final float
private final String
private final BlockMirror
private final StructureBlockMode
private final BlockPos
private final BlockPos
private final BlockRotation
private final long
private static final int
private static final int
private final boolean
private final boolean
private final Vec3i
private final String
-
Constructor Summary
ModifierConstructorDescriptionprivate
UpdateStructureBlockC2SPacket
(BlockPos pos, StructureBlockBlockEntity.Action action, StructureBlockMode mode, String templateName, BlockPos offset, Vec3i size, BlockMirror mirror, BlockRotation rotation, String metadata, boolean ignoreEntities, boolean showAir, boolean showBoundingBox, float integrity, long seed) -
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(ServerPlayPacketListener serverPlayPacketListener) float
getMode()
getPos()
long
getSeed()
getSize()
boolean
boolean
boolean
private void
write
(PacketByteBuf buf) 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.packet.Packet
isWritingErrorSkippable, transitionsNetworkState
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;CODEC:Lnet/minecraft/network/codec/PacketCodec;
intermediary field_48221
Lnet/minecraft/class_2875;field_48221:Lnet/minecraft/class_9139;
official a
Laio;a:Lzn;
-
IGNORE_ENTITIES_MASK
private static final int IGNORE_ENTITIES_MASK- See Also:
- Mappings:
Namespace Name Mixin selector named IGNORE_ENTITIES_MASK
Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;IGNORE_ENTITIES_MASK:I
intermediary field_33368
Lnet/minecraft/class_2875;field_33368:I
official b
Laio;b:I
-
SHOW_AIR_MASK
private static final int SHOW_AIR_MASK- See Also:
- Mappings:
Namespace Name Mixin selector named SHOW_AIR_MASK
Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;SHOW_AIR_MASK:I
intermediary field_33369
Lnet/minecraft/class_2875;field_33369:I
official c
Laio;c:I
-
SHOW_BOUNDING_BOX_MASK
private static final int SHOW_BOUNDING_BOX_MASK- See Also:
- Mappings:
Namespace Name Mixin selector named SHOW_BOUNDING_BOX_MASK
Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;SHOW_BOUNDING_BOX_MASK:I
intermediary field_33370
Lnet/minecraft/class_2875;field_33370:I
official d
Laio;d:I
-
pos
- Mappings:
Namespace Name Mixin selector named pos
Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;pos:Lnet/minecraft/util/math/BlockPos;
intermediary field_13093
Lnet/minecraft/class_2875;field_13093:Lnet/minecraft/class_2338;
official e
Laio;e:Liz;
-
action
- Mappings:
Namespace Name Mixin selector named action
Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;action:Lnet/minecraft/block/entity/StructureBlockBlockEntity$Action;
intermediary field_13082
Lnet/minecraft/class_2875;field_13082:Lnet/minecraft/class_2633$class_2634;
official f
Laio;f:Ldqy$a;
-
mode
- Mappings:
Namespace Name Mixin selector named mode
Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;mode:Lnet/minecraft/block/enums/StructureBlockMode;
intermediary field_13084
Lnet/minecraft/class_2875;field_13084:Lnet/minecraft/class_2776;
official g
Laio;g:Ldto;
-
templateName
- Mappings:
Namespace Name Mixin selector named templateName
Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;templateName:Ljava/lang/String;
intermediary field_13080
Lnet/minecraft/class_2875;field_13080:Ljava/lang/String;
official h
Laio;h:Ljava/lang/String;
-
offset
- Mappings:
Namespace Name Mixin selector named offset
Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;offset:Lnet/minecraft/util/math/BlockPos;
intermediary field_13091
Lnet/minecraft/class_2875;field_13091:Lnet/minecraft/class_2338;
official i
Laio;i:Liz;
-
size
- Mappings:
Namespace Name Mixin selector named size
Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;size:Lnet/minecraft/util/math/Vec3i;
intermediary field_13083
Lnet/minecraft/class_2875;field_13083:Lnet/minecraft/class_2382;
official j
Laio;j:Lkd;
-
mirror
- Mappings:
Namespace Name Mixin selector named mirror
Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;mirror:Lnet/minecraft/util/BlockMirror;
intermediary field_13081
Lnet/minecraft/class_2875;field_13081:Lnet/minecraft/class_2415;
official k
Laio;k:Ldjy;
-
rotation
- Mappings:
Namespace Name Mixin selector named rotation
Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;rotation:Lnet/minecraft/util/BlockRotation;
intermediary field_13088
Lnet/minecraft/class_2875;field_13088:Lnet/minecraft/class_2470;
official l
Laio;l:Ldlo;
-
metadata
- Mappings:
Namespace Name Mixin selector named metadata
Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;metadata:Ljava/lang/String;
intermediary field_13085
Lnet/minecraft/class_2875;field_13085:Ljava/lang/String;
official m
Laio;m:Ljava/lang/String;
-
ignoreEntities
private final boolean ignoreEntities- Mappings:
Namespace Name Mixin selector named ignoreEntities
Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;ignoreEntities:Z
intermediary field_13089
Lnet/minecraft/class_2875;field_13089:Z
official n
Laio;n:Z
-
showAir
private final boolean showAir- Mappings:
Namespace Name Mixin selector named showAir
Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;showAir:Z
intermediary field_13087
Lnet/minecraft/class_2875;field_13087:Z
official o
Laio;o:Z
-
showBoundingBox
private final boolean showBoundingBox- Mappings:
Namespace Name Mixin selector named showBoundingBox
Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;showBoundingBox:Z
intermediary field_13086
Lnet/minecraft/class_2875;field_13086:Z
official p
Laio;p:Z
-
integrity
private final float integrity- Mappings:
Namespace Name Mixin selector named integrity
Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;integrity:F
intermediary field_13090
Lnet/minecraft/class_2875;field_13090:F
official q
Laio;q:F
-
seed
private final long seed- Mappings:
Namespace Name Mixin selector named seed
Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;seed:J
intermediary field_13092
Lnet/minecraft/class_2875;field_13092:J
official r
Laio;r:J
-
-
Constructor Details
-
UpdateStructureBlockC2SPacket
public UpdateStructureBlockC2SPacket(BlockPos pos, StructureBlockBlockEntity.Action action, StructureBlockMode mode, String templateName, BlockPos offset, Vec3i size, BlockMirror mirror, BlockRotation rotation, String metadata, boolean ignoreEntities, boolean showAir, boolean showBoundingBox, float integrity, long seed) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;<init>(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/entity/StructureBlockBlockEntity$Action;Lnet/minecraft/block/enums/StructureBlockMode;Ljava/lang/String;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Vec3i;Lnet/minecraft/util/BlockMirror;Lnet/minecraft/util/BlockRotation;Ljava/lang/String;ZZZFJ)V
intermediary <init>
Lnet/minecraft/class_2875;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_2633$class_2634;Lnet/minecraft/class_2776;Ljava/lang/String;Lnet/minecraft/class_2338;Lnet/minecraft/class_2382;Lnet/minecraft/class_2415;Lnet/minecraft/class_2470;Ljava/lang/String;ZZZFJ)V
official <init>
Laio;<init>(Liz;Ldqy$a;Ldto;Ljava/lang/String;Liz;Lkd;Ldjy;Ldlo;Ljava/lang/String;ZZZFJ)V
-
UpdateStructureBlockC2SPacket
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
intermediary <init>
Lnet/minecraft/class_2875;<init>(Lnet/minecraft/class_2540;)V
official <init>
Laio;<init>(Lwm;)V
-
-
Method Details
-
write
- Mappings:
Namespace Name Mixin selector named write
Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;write(Lnet/minecraft/network/PacketByteBuf;)V
intermediary method_56001
Lnet/minecraft/class_2875;method_56001(Lnet/minecraft/class_2540;)V
official a
Laio;a(Lwm;)V
-
getPacketId
- Specified by:
getPacketId
in interfacePacket<ServerPlayPacketListener>
- Mappings:
Namespace Name Mixin selector named getPacketId
Lnet/minecraft/network/packet/Packet;getPacketId()Lnet/minecraft/network/packet/PacketType;
intermediary method_55846
Lnet/minecraft/class_2596;method_55846()Lnet/minecraft/class_9145;
official a
Lzw;a()Lzy;
-
apply
- Specified by:
apply
in interfacePacket<ServerPlayPacketListener>
- Mappings:
Namespace Name Mixin selector named apply
Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
intermediary method_12495
Lnet/minecraft/class_2875;method_12495(Lnet/minecraft/class_2792;)V
official a
Laio;a(Lagw;)V
-
getPos
- Mappings:
Namespace Name Mixin selector named getPos
Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;getPos()Lnet/minecraft/util/math/BlockPos;
intermediary method_12499
Lnet/minecraft/class_2875;method_12499()Lnet/minecraft/class_2338;
official b
Laio;b()Liz;
-
getAction
- Mappings:
Namespace Name Mixin selector named getAction
Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;getAction()Lnet/minecraft/block/entity/StructureBlockBlockEntity$Action;
intermediary method_12500
Lnet/minecraft/class_2875;method_12500()Lnet/minecraft/class_2633$class_2634;
official e
Laio;e()Ldqy$a;
-
getMode
- Mappings:
Namespace Name Mixin selector named getMode
Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;getMode()Lnet/minecraft/block/enums/StructureBlockMode;
intermediary method_12504
Lnet/minecraft/class_2875;method_12504()Lnet/minecraft/class_2776;
official f
Laio;f()Ldto;
-
getTemplateName
- Mappings:
Namespace Name Mixin selector named getTemplateName
Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;getTemplateName()Ljava/lang/String;
intermediary method_12502
Lnet/minecraft/class_2875;method_12502()Ljava/lang/String;
official g
Laio;g()Ljava/lang/String;
-
getOffset
- Mappings:
Namespace Name Mixin selector named getOffset
Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;getOffset()Lnet/minecraft/util/math/BlockPos;
intermediary method_12496
Lnet/minecraft/class_2875;method_12496()Lnet/minecraft/class_2338;
official h
Laio;h()Liz;
-
getSize
- Mappings:
Namespace Name Mixin selector named getSize
Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;getSize()Lnet/minecraft/util/math/Vec3i;
intermediary method_12492
Lnet/minecraft/class_2875;method_12492()Lnet/minecraft/class_2382;
official i
Laio;i()Lkd;
-
getMirror
- Mappings:
Namespace Name Mixin selector named getMirror
Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;getMirror()Lnet/minecraft/util/BlockMirror;
intermediary method_12493
Lnet/minecraft/class_2875;method_12493()Lnet/minecraft/class_2415;
official j
Laio;j()Ldjy;
-
getRotation
- Mappings:
Namespace Name Mixin selector named getRotation
Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;getRotation()Lnet/minecraft/util/BlockRotation;
intermediary method_12498
Lnet/minecraft/class_2875;method_12498()Lnet/minecraft/class_2470;
official k
Laio;k()Ldlo;
-
getMetadata
- Mappings:
Namespace Name Mixin selector named getMetadata
Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;getMetadata()Ljava/lang/String;
intermediary method_12501
Lnet/minecraft/class_2875;method_12501()Ljava/lang/String;
official l
Laio;l()Ljava/lang/String;
-
shouldIgnoreEntities
public boolean shouldIgnoreEntities()- Mappings:
Namespace Name Mixin selector named shouldIgnoreEntities
Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;shouldIgnoreEntities()Z
intermediary method_12506
Lnet/minecraft/class_2875;method_12506()Z
official m
Laio;m()Z
-
shouldShowAir
public boolean shouldShowAir()- Mappings:
Namespace Name Mixin selector named shouldShowAir
Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;shouldShowAir()Z
intermediary method_12503
Lnet/minecraft/class_2875;method_12503()Z
official n
Laio;n()Z
-
shouldShowBoundingBox
public boolean shouldShowBoundingBox()- Mappings:
Namespace Name Mixin selector named shouldShowBoundingBox
Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;shouldShowBoundingBox()Z
intermediary method_12505
Lnet/minecraft/class_2875;method_12505()Z
official o
Laio;o()Z
-
getIntegrity
public float getIntegrity()- Mappings:
Namespace Name Mixin selector named getIntegrity
Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;getIntegrity()F
intermediary method_12494
Lnet/minecraft/class_2875;method_12494()F
official p
Laio;p()F
-
getSeed
public long getSeed()- Mappings:
Namespace Name Mixin selector named getSeed
Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;getSeed()J
intermediary method_12497
Lnet/minecraft/class_2875;method_12497()J
official q
Laio;q()J
-