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 official usintermediary net/minecraft/class_2875named net/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket
-
Field Summary
Fields Modifier and Type Field Description private StructureBlockBlockEntity.Actionactionprivate booleanignoreEntitiesprivate floatintegrityprivate Stringmetadataprivate BlockMirrormirrorprivate StructureBlockModemodeprivate BlockPosoffsetprivate BlockPosposprivate BlockRotationrotationprivate longseedprivate booleanshowAirprivate booleanshowBoundingBoxprivate BlockPossizeprivate StringstructureName -
Constructor Summary
Constructors Constructor Description UpdateStructureBlockC2SPacket(PacketByteBuf buf)UpdateStructureBlockC2SPacket(BlockPos pos, StructureBlockBlockEntity.Action action, StructureBlockMode mode, String structureName, BlockPos offset, BlockPos size, BlockMirror mirror, BlockRotation rotation, String metadata, boolean ignoreEntities, boolean showAir, boolean showBoundingBox, float integrity, long seed) -
Method Summary
Modifier and Type Method Description voidapply(ServerPlayPacketListener serverPlayPacketListener)StructureBlockBlockEntity.ActiongetAction()floatgetIntegrity()StringgetMetadata()BlockMirrorgetMirror()StructureBlockModegetMode()BlockPosgetOffset()BlockPosgetPos()BlockRotationgetRotation()longgetSeed()BlockPosgetSize()StringgetStructureName()booleanshouldIgnoreEntities()booleanshouldShowAir()booleanshouldShowBoundingBox()voidwrite(PacketByteBuf buf)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.Packet
isWritingErrorSkippable
-
Field Details
-
pos
- Mappings:
Namespace Name Mixin selector official aLus;a:Lfx;intermediary field_13093Lnet/minecraft/class_2875;field_13093:Lnet/minecraft/class_2338;named posLnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;pos:Lnet/minecraft/util/math/BlockPos;
-
action
- Mappings:
Namespace Name Mixin selector official bLus;b:Lcho$a;intermediary field_13082Lnet/minecraft/class_2875;field_13082:Lnet/minecraft/class_2633$class_2634;named actionLnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;action:Lnet/minecraft/block/entity/StructureBlockBlockEntity$Action;
-
mode
- Mappings:
Namespace Name Mixin selector official cLus;c:Lcjv;intermediary field_13084Lnet/minecraft/class_2875;field_13084:Lnet/minecraft/class_2776;named modeLnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;mode:Lnet/minecraft/block/enums/StructureBlockMode;
-
structureName
- Mappings:
Namespace Name Mixin selector official dLus;d:Ljava/lang/String;intermediary field_13080Lnet/minecraft/class_2875;field_13080:Ljava/lang/String;named structureNameLnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;structureName:Ljava/lang/String;
-
offset
- Mappings:
Namespace Name Mixin selector official eLus;e:Lfx;intermediary field_13091Lnet/minecraft/class_2875;field_13091:Lnet/minecraft/class_2338;named offsetLnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;offset:Lnet/minecraft/util/math/BlockPos;
-
size
- Mappings:
Namespace Name Mixin selector official fLus;f:Lfx;intermediary field_13083Lnet/minecraft/class_2875;field_13083:Lnet/minecraft/class_2338;named sizeLnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;size:Lnet/minecraft/util/math/BlockPos;
-
mirror
- Mappings:
Namespace Name Mixin selector official gLus;g:Lcbu;intermediary field_13081Lnet/minecraft/class_2875;field_13081:Lnet/minecraft/class_2415;named mirrorLnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;mirror:Lnet/minecraft/util/BlockMirror;
-
rotation
- Mappings:
Namespace Name Mixin selector official hLus;h:Lcdf;intermediary field_13088Lnet/minecraft/class_2875;field_13088:Lnet/minecraft/class_2470;named rotationLnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;rotation:Lnet/minecraft/util/BlockRotation;
-
metadata
- Mappings:
Namespace Name Mixin selector official iLus;i:Ljava/lang/String;intermediary field_13085Lnet/minecraft/class_2875;field_13085:Ljava/lang/String;named metadataLnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;metadata:Ljava/lang/String;
-
ignoreEntities
private final boolean ignoreEntities- Mappings:
Namespace Name Mixin selector official jLus;j:Zintermediary field_13089Lnet/minecraft/class_2875;field_13089:Znamed ignoreEntitiesLnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;ignoreEntities:Z
-
showAir
private final boolean showAir- Mappings:
Namespace Name Mixin selector official kLus;k:Zintermediary field_13087Lnet/minecraft/class_2875;field_13087:Znamed showAirLnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;showAir:Z
-
showBoundingBox
private final boolean showBoundingBox- Mappings:
Namespace Name Mixin selector official lLus;l:Zintermediary field_13086Lnet/minecraft/class_2875;field_13086:Znamed showBoundingBoxLnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;showBoundingBox:Z
-
integrity
private final float integrity- Mappings:
Namespace Name Mixin selector official mLus;m:Fintermediary field_13090Lnet/minecraft/class_2875;field_13090:Fnamed integrityLnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;integrity:F
-
seed
private final long seed- Mappings:
Namespace Name Mixin selector official nLus;n:Jintermediary field_13092Lnet/minecraft/class_2875;field_13092:Jnamed seedLnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;seed:J
-
-
Constructor Details
-
UpdateStructureBlockC2SPacket
@Environment(CLIENT) public UpdateStructureBlockC2SPacket(BlockPos pos, StructureBlockBlockEntity.Action action, StructureBlockMode mode, String structureName, BlockPos offset, BlockPos size, BlockMirror mirror, BlockRotation rotation, String metadata, boolean ignoreEntities, boolean showAir, boolean showBoundingBox, float integrity, long seed)- Mappings:
Namespace Name Mixin selector official <init>Lus;<init>(Lfx;Lcho$a;Lcjv;Ljava/lang/String;Lfx;Lfx;Lcbu;Lcdf;Ljava/lang/String;ZZZFJ)Vintermediary <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_2338;Lnet/minecraft/class_2415;Lnet/minecraft/class_2470;Ljava/lang/String;ZZZFJ)Vnamed <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/BlockPos;Lnet/minecraft/util/BlockMirror;Lnet/minecraft/util/BlockRotation;Ljava/lang/String;ZZZFJ)V
-
UpdateStructureBlockC2SPacket
- Mappings:
Namespace Name Mixin selector official <init>Lus;<init>(Lnx;)Vintermediary <init>Lnet/minecraft/class_2875;<init>(Lnet/minecraft/class_2540;)Vnamed <init>Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
-
-
Method Details
-
write
- Specified by:
writein interfacePacket<ServerPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLpb;a(Lnx;)Vintermediary method_11052Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)Vnamed writeLnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
-
apply
- Specified by:
applyin interfacePacket<ServerPlayPacketListener>- Mappings:
Namespace Name Mixin selector official aLus;a(Lte;)Vintermediary method_12495Lnet/minecraft/class_2875;method_12495(Lnet/minecraft/class_2792;)Vnamed applyLnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
-
getPos
- Mappings:
Namespace Name Mixin selector official bLus;b()Lfx;intermediary method_12499Lnet/minecraft/class_2875;method_12499()Lnet/minecraft/class_2338;named getPosLnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;getPos()Lnet/minecraft/util/math/BlockPos;
-
getAction
- Mappings:
Namespace Name Mixin selector official cLus;c()Lcho$a;intermediary method_12500Lnet/minecraft/class_2875;method_12500()Lnet/minecraft/class_2633$class_2634;named getActionLnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;getAction()Lnet/minecraft/block/entity/StructureBlockBlockEntity$Action;
-
getMode
- Mappings:
Namespace Name Mixin selector official dLus;d()Lcjv;intermediary method_12504Lnet/minecraft/class_2875;method_12504()Lnet/minecraft/class_2776;named getModeLnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;getMode()Lnet/minecraft/block/enums/StructureBlockMode;
-
getStructureName
- Mappings:
Namespace Name Mixin selector official eLus;e()Ljava/lang/String;intermediary method_12502Lnet/minecraft/class_2875;method_12502()Ljava/lang/String;named getStructureNameLnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;getStructureName()Ljava/lang/String;
-
getOffset
- Mappings:
Namespace Name Mixin selector official fLus;f()Lfx;intermediary method_12496Lnet/minecraft/class_2875;method_12496()Lnet/minecraft/class_2338;named getOffsetLnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;getOffset()Lnet/minecraft/util/math/BlockPos;
-
getSize
- Mappings:
Namespace Name Mixin selector official gLus;g()Lfx;intermediary method_12492Lnet/minecraft/class_2875;method_12492()Lnet/minecraft/class_2338;named getSizeLnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;getSize()Lnet/minecraft/util/math/BlockPos;
-
getMirror
- Mappings:
Namespace Name Mixin selector official hLus;h()Lcbu;intermediary method_12493Lnet/minecraft/class_2875;method_12493()Lnet/minecraft/class_2415;named getMirrorLnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;getMirror()Lnet/minecraft/util/BlockMirror;
-
getRotation
- Mappings:
Namespace Name Mixin selector official iLus;i()Lcdf;intermediary method_12498Lnet/minecraft/class_2875;method_12498()Lnet/minecraft/class_2470;named getRotationLnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;getRotation()Lnet/minecraft/util/BlockRotation;
-
getMetadata
- Mappings:
Namespace Name Mixin selector official jLus;j()Ljava/lang/String;intermediary method_12501Lnet/minecraft/class_2875;method_12501()Ljava/lang/String;named getMetadataLnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;getMetadata()Ljava/lang/String;
-
shouldIgnoreEntities
public boolean shouldIgnoreEntities()- Mappings:
Namespace Name Mixin selector official kLus;k()Zintermediary method_12506Lnet/minecraft/class_2875;method_12506()Znamed shouldIgnoreEntitiesLnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;shouldIgnoreEntities()Z
-
shouldShowAir
public boolean shouldShowAir()- Mappings:
Namespace Name Mixin selector official lLus;l()Zintermediary method_12503Lnet/minecraft/class_2875;method_12503()Znamed shouldShowAirLnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;shouldShowAir()Z
-
shouldShowBoundingBox
public boolean shouldShowBoundingBox()- Mappings:
Namespace Name Mixin selector official mLus;m()Zintermediary method_12505Lnet/minecraft/class_2875;method_12505()Znamed shouldShowBoundingBoxLnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;shouldShowBoundingBox()Z
-
getIntegrity
public float getIntegrity()- Mappings:
Namespace Name Mixin selector official nLus;n()Fintermediary method_12494Lnet/minecraft/class_2875;method_12494()Fnamed getIntegrityLnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;getIntegrity()F
-
getSeed
public long getSeed()- Mappings:
Namespace Name Mixin selector official oLus;o()Jintermediary method_12497Lnet/minecraft/class_2875;method_12497()Jnamed getSeedLnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;getSeed()J
-