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 vb
intermediary net/minecraft/class_2875
named net/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket
  • Field Details

    • IGNORE_ENTITIES_MASK

      private static final int IGNORE_ENTITIES_MASK
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official a Lvb;a:I
      intermediary field_33368 Lnet/minecraft/class_2875;field_33368:I
      named IGNORE_ENTITIES_MASK Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;IGNORE_ENTITIES_MASK:I
    • SHOW_AIR_MASK

      private static final int SHOW_AIR_MASK
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official b Lvb;b:I
      intermediary field_33369 Lnet/minecraft/class_2875;field_33369:I
      named SHOW_AIR_MASK Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;SHOW_AIR_MASK:I
    • SHOW_BOUNDING_BOX_MASK

      private static final int SHOW_BOUNDING_BOX_MASK
      See Also:
      Constant Field Values
      Mappings:
      Namespace Name Mixin selector
      official c Lvb;c:I
      intermediary field_33370 Lnet/minecraft/class_2875;field_33370:I
      named SHOW_BOUNDING_BOX_MASK Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;SHOW_BOUNDING_BOX_MASK:I
    • pos

      private final BlockPos pos
      Mappings:
      Namespace Name Mixin selector
      official d Lvb;d:Lgg;
      intermediary field_13093 Lnet/minecraft/class_2875;field_13093:Lnet/minecraft/class_2338;
      named pos Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;pos:Lnet/minecraft/util/math/BlockPos;
    • action

      private final StructureBlockBlockEntity.Action action
      Mappings:
      Namespace Name Mixin selector
      official e Lvb;e:Lcjt$a;
      intermediary field_13082 Lnet/minecraft/class_2875;field_13082:Lnet/minecraft/class_2633$class_2634;
      named action Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;action:Lnet/minecraft/block/entity/StructureBlockBlockEntity$Action;
    • mode

      private final StructureBlockMode mode
      Mappings:
      Namespace Name Mixin selector
      official f Lvb;f:Lcmb;
      intermediary field_13084 Lnet/minecraft/class_2875;field_13084:Lnet/minecraft/class_2776;
      named mode Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;mode:Lnet/minecraft/block/enums/StructureBlockMode;
    • structureName

      private final String structureName
      Mappings:
      Namespace Name Mixin selector
      official g Lvb;g:Ljava/lang/String;
      intermediary field_13080 Lnet/minecraft/class_2875;field_13080:Ljava/lang/String;
      named structureName Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;structureName:Ljava/lang/String;
    • offset

      private final BlockPos offset
      Mappings:
      Namespace Name Mixin selector
      official h Lvb;h:Lgg;
      intermediary field_13091 Lnet/minecraft/class_2875;field_13091:Lnet/minecraft/class_2338;
      named offset Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;offset:Lnet/minecraft/util/math/BlockPos;
    • size

      private final Vec3i size
      Mappings:
      Namespace Name Mixin selector
      official i Lvb;i:Lhb;
      intermediary field_13083 Lnet/minecraft/class_2875;field_13083:Lnet/minecraft/class_2382;
      named size Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;size:Lnet/minecraft/util/math/Vec3i;
    • mirror

      private final BlockMirror mirror
      Mappings:
      Namespace Name Mixin selector
      official j Lvb;j:Lcdx;
      intermediary field_13081 Lnet/minecraft/class_2875;field_13081:Lnet/minecraft/class_2415;
      named mirror Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;mirror:Lnet/minecraft/util/BlockMirror;
    • rotation

      private final BlockRotation rotation
      Mappings:
      Namespace Name Mixin selector
      official k Lvb;k:Lcfk;
      intermediary field_13088 Lnet/minecraft/class_2875;field_13088:Lnet/minecraft/class_2470;
      named rotation Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;rotation:Lnet/minecraft/util/BlockRotation;
    • metadata

      private final String metadata
      Mappings:
      Namespace Name Mixin selector
      official l Lvb;l:Ljava/lang/String;
      intermediary field_13085 Lnet/minecraft/class_2875;field_13085:Ljava/lang/String;
      named metadata Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;metadata:Ljava/lang/String;
    • ignoreEntities

      private final boolean ignoreEntities
      Mappings:
      Namespace Name Mixin selector
      official m Lvb;m:Z
      intermediary field_13089 Lnet/minecraft/class_2875;field_13089:Z
      named ignoreEntities Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;ignoreEntities:Z
    • showAir

      private final boolean showAir
      Mappings:
      Namespace Name Mixin selector
      official n Lvb;n:Z
      intermediary field_13087 Lnet/minecraft/class_2875;field_13087:Z
      named showAir Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;showAir:Z
    • showBoundingBox

      private final boolean showBoundingBox
      Mappings:
      Namespace Name Mixin selector
      official o Lvb;o:Z
      intermediary field_13086 Lnet/minecraft/class_2875;field_13086:Z
      named showBoundingBox Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;showBoundingBox:Z
    • integrity

      private final float integrity
      Mappings:
      Namespace Name Mixin selector
      official p Lvb;p:F
      intermediary field_13090 Lnet/minecraft/class_2875;field_13090:F
      named integrity Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;integrity:F
    • seed

      private final long seed
      Mappings:
      Namespace Name Mixin selector
      official q Lvb;q:J
      intermediary field_13092 Lnet/minecraft/class_2875;field_13092:J
      named seed Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;seed:J
  • Constructor Details

    • UpdateStructureBlockC2SPacket

      public UpdateStructureBlockC2SPacket(BlockPos pos, StructureBlockBlockEntity.Action action, StructureBlockMode mode, String structureName, 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
      official <init> Lvb;<init>(Lgg;Lcjt$a;Lcmb;Ljava/lang/String;Lgg;Lhb;Lcdx;Lcfk;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
      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
    • UpdateStructureBlockC2SPacket

      public UpdateStructureBlockC2SPacket(PacketByteBuf buf)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lvb;<init>(Log;)V
      intermediary <init> Lnet/minecraft/class_2875;<init>(Lnet/minecraft/class_2540;)V
      named <init> Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;<init>(Lnet/minecraft/network/PacketByteBuf;)V
  • Method Details

    • write

      public void write(PacketByteBuf buf)
      Specified by:
      write in interface Packet<ServerPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lpk;a(Log;)V
      intermediary method_11052 Lnet/minecraft/class_2596;method_11052(Lnet/minecraft/class_2540;)V
      named write Lnet/minecraft/network/Packet;write(Lnet/minecraft/network/PacketByteBuf;)V
    • apply

      public void apply(ServerPlayPacketListener serverPlayPacketListener)
      Specified by:
      apply in interface Packet<ServerPlayPacketListener>
      Mappings:
      Namespace Name Mixin selector
      official a Lvb;a(Ltn;)V
      intermediary method_12495 Lnet/minecraft/class_2875;method_12495(Lnet/minecraft/class_2792;)V
      named apply Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;apply(Lnet/minecraft/network/listener/ServerPlayPacketListener;)V
    • getPos

      public BlockPos getPos()
      Mappings:
      Namespace Name Mixin selector
      official b Lvb;b()Lgg;
      intermediary method_12499 Lnet/minecraft/class_2875;method_12499()Lnet/minecraft/class_2338;
      named getPos Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;getPos()Lnet/minecraft/util/math/BlockPos;
    • getAction

      Mappings:
      Namespace Name Mixin selector
      official c Lvb;c()Lcjt$a;
      intermediary method_12500 Lnet/minecraft/class_2875;method_12500()Lnet/minecraft/class_2633$class_2634;
      named getAction Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;getAction()Lnet/minecraft/block/entity/StructureBlockBlockEntity$Action;
    • getMode

      public StructureBlockMode getMode()
      Mappings:
      Namespace Name Mixin selector
      official d Lvb;d()Lcmb;
      intermediary method_12504 Lnet/minecraft/class_2875;method_12504()Lnet/minecraft/class_2776;
      named getMode Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;getMode()Lnet/minecraft/block/enums/StructureBlockMode;
    • getStructureName

      public String getStructureName()
      Mappings:
      Namespace Name Mixin selector
      official e Lvb;e()Ljava/lang/String;
      intermediary method_12502 Lnet/minecraft/class_2875;method_12502()Ljava/lang/String;
      named getStructureName Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;getStructureName()Ljava/lang/String;
    • getOffset

      public BlockPos getOffset()
      Mappings:
      Namespace Name Mixin selector
      official f Lvb;f()Lgg;
      intermediary method_12496 Lnet/minecraft/class_2875;method_12496()Lnet/minecraft/class_2338;
      named getOffset Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;getOffset()Lnet/minecraft/util/math/BlockPos;
    • getSize

      public Vec3i getSize()
      Mappings:
      Namespace Name Mixin selector
      official g Lvb;g()Lhb;
      intermediary method_12492 Lnet/minecraft/class_2875;method_12492()Lnet/minecraft/class_2382;
      named getSize Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;getSize()Lnet/minecraft/util/math/Vec3i;
    • getMirror

      public BlockMirror getMirror()
      Mappings:
      Namespace Name Mixin selector
      official h Lvb;h()Lcdx;
      intermediary method_12493 Lnet/minecraft/class_2875;method_12493()Lnet/minecraft/class_2415;
      named getMirror Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;getMirror()Lnet/minecraft/util/BlockMirror;
    • getRotation

      public BlockRotation getRotation()
      Mappings:
      Namespace Name Mixin selector
      official i Lvb;i()Lcfk;
      intermediary method_12498 Lnet/minecraft/class_2875;method_12498()Lnet/minecraft/class_2470;
      named getRotation Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;getRotation()Lnet/minecraft/util/BlockRotation;
    • getMetadata

      public String getMetadata()
      Mappings:
      Namespace Name Mixin selector
      official j Lvb;j()Ljava/lang/String;
      intermediary method_12501 Lnet/minecraft/class_2875;method_12501()Ljava/lang/String;
      named getMetadata Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;getMetadata()Ljava/lang/String;
    • shouldIgnoreEntities

      public boolean shouldIgnoreEntities()
      Mappings:
      Namespace Name Mixin selector
      official k Lvb;k()Z
      intermediary method_12506 Lnet/minecraft/class_2875;method_12506()Z
      named shouldIgnoreEntities Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;shouldIgnoreEntities()Z
    • shouldShowAir

      public boolean shouldShowAir()
      Mappings:
      Namespace Name Mixin selector
      official l Lvb;l()Z
      intermediary method_12503 Lnet/minecraft/class_2875;method_12503()Z
      named shouldShowAir Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;shouldShowAir()Z
    • shouldShowBoundingBox

      public boolean shouldShowBoundingBox()
      Mappings:
      Namespace Name Mixin selector
      official m Lvb;m()Z
      intermediary method_12505 Lnet/minecraft/class_2875;method_12505()Z
      named shouldShowBoundingBox Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;shouldShowBoundingBox()Z
    • getIntegrity

      public float getIntegrity()
      Mappings:
      Namespace Name Mixin selector
      official n Lvb;n()F
      intermediary method_12494 Lnet/minecraft/class_2875;method_12494()F
      named getIntegrity Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;getIntegrity()F
    • getSeed

      public long getSeed()
      Mappings:
      Namespace Name Mixin selector
      official o Lvb;o()J
      intermediary method_12497 Lnet/minecraft/class_2875;method_12497()J
      named getSeed Lnet/minecraft/network/packet/c2s/play/UpdateStructureBlockC2SPacket;getSeed()J