Class StructureBlockBlockEntity

java.lang.Object
net.minecraft.block.entity.BlockEntity
net.minecraft.block.entity.StructureBlockBlockEntity
All Implemented Interfaces:
StructureBoxRendering

public class StructureBlockBlockEntity extends BlockEntity implements StructureBoxRendering
Mappings:
Namespace Name
named net/minecraft/block/entity/StructureBlockBlockEntity
intermediary net/minecraft/class_2633
official ecs
  • Field Details

    • field_31367

      private static final int field_31367
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_31367 Lnet/minecraft/block/entity/StructureBlockBlockEntity;field_31367:I
      intermediary field_31367 Lnet/minecraft/class_2633;field_31367:I
      official d Lecs;d:I
    • field_31364

      public static final int field_31364
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_31364 Lnet/minecraft/block/entity/StructureBlockBlockEntity;field_31364:I
      intermediary field_31364 Lnet/minecraft/class_2633;field_31364:I
      official a Lecs;a:I
    • field_31365

      public static final int field_31365
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_31365 Lnet/minecraft/block/entity/StructureBlockBlockEntity;field_31365:I
      intermediary field_31365 Lnet/minecraft/class_2633;field_31365:I
      official b Lecs;b:I
    • AUTHOR_KEY

      public static final String AUTHOR_KEY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named AUTHOR_KEY Lnet/minecraft/block/entity/StructureBlockBlockEntity;AUTHOR_KEY:Ljava/lang/String;
      intermediary field_31366 Lnet/minecraft/class_2633;field_31366:Ljava/lang/String;
      official c Lecs;c:Ljava/lang/String;
    • DEFAULT_AUTHOR

      private static final String DEFAULT_AUTHOR
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named DEFAULT_AUTHOR Lnet/minecraft/block/entity/StructureBlockBlockEntity;DEFAULT_AUTHOR:Ljava/lang/String;
      intermediary field_57787 Lnet/minecraft/class_2633;field_57787:Ljava/lang/String;
      official e Lecs;e:Ljava/lang/String;
    • DEFAULT_METADATA

      private static final String DEFAULT_METADATA
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named DEFAULT_METADATA Lnet/minecraft/block/entity/StructureBlockBlockEntity;DEFAULT_METADATA:Ljava/lang/String;
      intermediary field_57788 Lnet/minecraft/class_2633;field_57788:Ljava/lang/String;
      official f Lecs;f:Ljava/lang/String;
    • DEFAULT_OFFSET

      private static final BlockPos DEFAULT_OFFSET
      Mappings:
      Namespace Name Mixin selector
      named DEFAULT_OFFSET Lnet/minecraft/block/entity/StructureBlockBlockEntity;DEFAULT_OFFSET:Lnet/minecraft/util/math/BlockPos;
      intermediary field_57789 Lnet/minecraft/class_2633;field_57789:Lnet/minecraft/class_2338;
      official g Lecs;g:Ljb;
    • DEFAULT_SIZE

      private static final Vec3i DEFAULT_SIZE
      Mappings:
      Namespace Name Mixin selector
      named DEFAULT_SIZE Lnet/minecraft/block/entity/StructureBlockBlockEntity;DEFAULT_SIZE:Lnet/minecraft/util/math/Vec3i;
      intermediary field_57790 Lnet/minecraft/class_2633;field_57790:Lnet/minecraft/class_2382;
      official h Lecs;h:Lkg;
    • DEFAULT_ROTATION

      private static final BlockRotation DEFAULT_ROTATION
      Mappings:
      Namespace Name Mixin selector
      named DEFAULT_ROTATION Lnet/minecraft/block/entity/StructureBlockBlockEntity;DEFAULT_ROTATION:Lnet/minecraft/util/BlockRotation;
      intermediary field_57791 Lnet/minecraft/class_2633;field_57791:Lnet/minecraft/class_2470;
      official i Lecs;i:Ldwu;
    • DEFAULT_MIRROR

      private static final BlockMirror DEFAULT_MIRROR
      Mappings:
      Namespace Name Mixin selector
      named DEFAULT_MIRROR Lnet/minecraft/block/entity/StructureBlockBlockEntity;DEFAULT_MIRROR:Lnet/minecraft/util/BlockMirror;
      intermediary field_57792 Lnet/minecraft/class_2633;field_57792:Lnet/minecraft/class_2415;
      official j Lecs;j:Ldvd;
    • DEFAULT_IGNORE_ENTITIES

      private static final boolean DEFAULT_IGNORE_ENTITIES
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named DEFAULT_IGNORE_ENTITIES Lnet/minecraft/block/entity/StructureBlockBlockEntity;DEFAULT_IGNORE_ENTITIES:Z
      intermediary field_57793 Lnet/minecraft/class_2633;field_57793:Z
      official k Lecs;k:Z
    • DEFAULT_STRICT

      private static final boolean DEFAULT_STRICT
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named DEFAULT_STRICT Lnet/minecraft/block/entity/StructureBlockBlockEntity;DEFAULT_STRICT:Z
      intermediary field_57794 Lnet/minecraft/class_2633;field_57794:Z
      official l Lecs;l:Z
    • DEFAULT_POWERED

      private static final boolean DEFAULT_POWERED
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named DEFAULT_POWERED Lnet/minecraft/block/entity/StructureBlockBlockEntity;DEFAULT_POWERED:Z
      intermediary field_57795 Lnet/minecraft/class_2633;field_57795:Z
      official m Lecs;m:Z
    • DEFAULT_SHOW_AIR

      private static final boolean DEFAULT_SHOW_AIR
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named DEFAULT_SHOW_AIR Lnet/minecraft/block/entity/StructureBlockBlockEntity;DEFAULT_SHOW_AIR:Z
      intermediary field_57796 Lnet/minecraft/class_2633;field_57796:Z
      official q Lecs;q:Z
    • DEFAULT_SHOW_BOUNDING_BOX

      private static final boolean DEFAULT_SHOW_BOUNDING_BOX
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named DEFAULT_SHOW_BOUNDING_BOX Lnet/minecraft/block/entity/StructureBlockBlockEntity;DEFAULT_SHOW_BOUNDING_BOX:Z
      intermediary field_57797 Lnet/minecraft/class_2633;field_57797:Z
      official r Lecs;r:Z
    • DEFAULT_INTEGRITY

      private static final float DEFAULT_INTEGRITY
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named DEFAULT_INTEGRITY Lnet/minecraft/block/entity/StructureBlockBlockEntity;DEFAULT_INTEGRITY:F
      intermediary field_57798 Lnet/minecraft/class_2633;field_57798:F
      official s Lecs;s:F
    • DEFAULT_SEED

      private static final long DEFAULT_SEED
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named DEFAULT_SEED Lnet/minecraft/block/entity/StructureBlockBlockEntity;DEFAULT_SEED:J
      intermediary field_57799 Lnet/minecraft/class_2633;field_57799:J
      official t Lecs;t:J
    • templateName

      @Nullable private @Nullable Identifier templateName
      Mappings:
      Namespace Name Mixin selector
      named templateName Lnet/minecraft/block/entity/StructureBlockBlockEntity;templateName:Lnet/minecraft/util/Identifier;
      intermediary field_12102 Lnet/minecraft/class_2633;field_12102:Lnet/minecraft/class_2960;
      official u Lecs;u:Lame;
    • author

      private String author
      Mappings:
      Namespace Name Mixin selector
      named author Lnet/minecraft/block/entity/StructureBlockBlockEntity;author:Ljava/lang/String;
      intermediary field_12104 Lnet/minecraft/class_2633;field_12104:Ljava/lang/String;
      official v Lecs;v:Ljava/lang/String;
    • metadata

      private String metadata
      Mappings:
      Namespace Name Mixin selector
      named metadata Lnet/minecraft/block/entity/StructureBlockBlockEntity;metadata:Ljava/lang/String;
      intermediary field_12098 Lnet/minecraft/class_2633;field_12098:Ljava/lang/String;
      official w Lecs;w:Ljava/lang/String;
    • offset

      private BlockPos offset
      Mappings:
      Namespace Name Mixin selector
      named offset Lnet/minecraft/block/entity/StructureBlockBlockEntity;offset:Lnet/minecraft/util/math/BlockPos;
      intermediary field_12092 Lnet/minecraft/class_2633;field_12092:Lnet/minecraft/class_2338;
      official x Lecs;x:Ljb;
    • size

      private Vec3i size
      Mappings:
      Namespace Name Mixin selector
      named size Lnet/minecraft/block/entity/StructureBlockBlockEntity;size:Lnet/minecraft/util/math/Vec3i;
      intermediary field_12100 Lnet/minecraft/class_2633;field_12100:Lnet/minecraft/class_2382;
      official y Lecs;y:Lkg;
    • mirror

      private BlockMirror mirror
      Mappings:
      Namespace Name Mixin selector
      named mirror Lnet/minecraft/block/entity/StructureBlockBlockEntity;mirror:Lnet/minecraft/util/BlockMirror;
      intermediary field_12093 Lnet/minecraft/class_2633;field_12093:Lnet/minecraft/class_2415;
      official z Lecs;z:Ldvd;
    • rotation

      private BlockRotation rotation
      Mappings:
      Namespace Name Mixin selector
      named rotation Lnet/minecraft/block/entity/StructureBlockBlockEntity;rotation:Lnet/minecraft/util/BlockRotation;
      intermediary field_12105 Lnet/minecraft/class_2633;field_12105:Lnet/minecraft/class_2470;
      official A Lecs;A:Ldwu;
    • mode

      private StructureBlockMode mode
      Mappings:
      Namespace Name Mixin selector
      named mode Lnet/minecraft/block/entity/StructureBlockBlockEntity;mode:Lnet/minecraft/block/enums/StructureBlockMode;
      intermediary field_12094 Lnet/minecraft/class_2633;field_12094:Lnet/minecraft/class_2776;
      official B Lecs;B:Lefl;
    • ignoreEntities

      private boolean ignoreEntities
      Mappings:
      Namespace Name Mixin selector
      named ignoreEntities Lnet/minecraft/block/entity/StructureBlockBlockEntity;ignoreEntities:Z
      intermediary field_12099 Lnet/minecraft/class_2633;field_12099:Z
      official C Lecs;C:Z
    • strict

      private boolean strict
      Mappings:
      Namespace Name Mixin selector
      named strict Lnet/minecraft/block/entity/StructureBlockBlockEntity;strict:Z
      intermediary field_55823 Lnet/minecraft/class_2633;field_55823:Z
      official D Lecs;D:Z
    • powered

      private boolean powered
      Mappings:
      Namespace Name Mixin selector
      named powered Lnet/minecraft/block/entity/StructureBlockBlockEntity;powered:Z
      intermediary field_12097 Lnet/minecraft/class_2633;field_12097:Z
      official E Lecs;E:Z
    • showAir

      private boolean showAir
      Mappings:
      Namespace Name Mixin selector
      named showAir Lnet/minecraft/block/entity/StructureBlockBlockEntity;showAir:Z
      intermediary field_12096 Lnet/minecraft/class_2633;field_12096:Z
      official F Lecs;F:Z
    • showBoundingBox

      private boolean showBoundingBox
      Mappings:
      Namespace Name Mixin selector
      named showBoundingBox Lnet/minecraft/block/entity/StructureBlockBlockEntity;showBoundingBox:Z
      intermediary field_12095 Lnet/minecraft/class_2633;field_12095:Z
      official G Lecs;G:Z
    • integrity

      private float integrity
      Mappings:
      Namespace Name Mixin selector
      named integrity Lnet/minecraft/block/entity/StructureBlockBlockEntity;integrity:F
      intermediary field_12101 Lnet/minecraft/class_2633;field_12101:F
      official H Lecs;H:F
    • seed

      private long seed
      Mappings:
      Namespace Name Mixin selector
      named seed Lnet/minecraft/block/entity/StructureBlockBlockEntity;seed:J
      intermediary field_12103 Lnet/minecraft/class_2633;field_12103:J
      official I Lecs;I:J
  • Constructor Details

    • StructureBlockBlockEntity

      public StructureBlockBlockEntity(BlockPos pos, BlockState state)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/block/entity/StructureBlockBlockEntity;<init>(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
      intermediary <init> Lnet/minecraft/class_2633;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
      official <init> Lecs;<init>(Ljb;Leeb;)V
  • Method Details

    • writeData

      protected void writeData(WriteView view)
      Writes data to nbt. Subclasses should override this if they store a persistent data.

      NBT is a storage format; therefore, a data from NBT is loaded to a block entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the block entity.

      Overrides:
      writeData in class BlockEntity
      See Also:
      • invalid reference
        #readNbt
      Mappings:
      Namespace Name Mixin selector
      named writeData Lnet/minecraft/block/entity/BlockEntity;writeData(Lnet/minecraft/storage/WriteView;)V
      intermediary method_11007 Lnet/minecraft/class_2586;method_11007(Lnet/minecraft/class_11372;)V
      official a Leaz;a(Lfdc;)V
    • readData

      protected void readData(ReadView view)
      Reads data from nbt. Subclasses should override this if they store a persistent data.

      NBT is a storage format; therefore, a data from NBT is loaded to a block entity instance's fields, which are used for other operations instead of the NBT. The data is written back to NBT when saving the block entity.

      nbt might not have all expected keys, or might have a key whose value does not meet the requirement (such as the type or the range). This method should fall back to a reasonable default value instead of throwing an exception.

      Overrides:
      readData in class BlockEntity
      See Also:
      • invalid reference
        #writeNbt
      Mappings:
      Namespace Name Mixin selector
      named readData Lnet/minecraft/block/entity/BlockEntity;readData(Lnet/minecraft/storage/ReadView;)V
      intermediary method_11014 Lnet/minecraft/class_2586;method_11014(Lnet/minecraft/class_11368;)V
      official a Leaz;a(Lfda;)V
    • updateBlockMode

      private void updateBlockMode()
      Mappings:
      Namespace Name Mixin selector
      named updateBlockMode Lnet/minecraft/block/entity/StructureBlockBlockEntity;updateBlockMode()V
      intermediary method_11348 Lnet/minecraft/class_2633;method_11348()V
      official J Lecs;J()V
    • toUpdatePacket

      public BlockEntityUpdateS2CPacket toUpdatePacket()
      Description copied from class: BlockEntity
      Returns the packet to send to nearby players when the block entity's observable state changes, or null to not send the packet.

      If the data returned by initial chunk data is suitable for updates, the following shortcut can be used to create an update packet: BlockEntityUpdateS2CPacket.create(this). The NBT will be passed to

      invalid reference
      #readNbt
      on the client.

      "Observable state" is a state that clients can observe without specific interaction. For example, CampfireBlockEntity's cooked items are observable states, but chests' inventories are not observable states, since the player must first open that chest before they can see the contents.

      To sync block entity data using this method, use serverWorld.getChunkManager().markForUpdate(this.getPos());.

      Overrides:
      toUpdatePacket in class BlockEntity
      Returns:
      the packet to send to nearby players when the block entity's observable state changes, or null to not send the packet
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named toUpdatePacket Lnet/minecraft/block/entity/StructureBlockBlockEntity;toUpdatePacket()Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;
      intermediary method_38252 Lnet/minecraft/class_2633;method_38252()Lnet/minecraft/class_2622;
      official a Lecs;a()Lacw;
    • toInitialChunkDataNbt

      public NbtCompound toInitialChunkDataNbt(RegistryWrapper.WrapperLookup registries)
      Returns the serialized state of this block entity that is observable by clients.

      This is sent alongside the initial chunk data, as well as when the block entity implements toUpdatePacket() and decides to use the default BlockEntityUpdateS2CPacket.

      "Observable state" is a state that clients can observe without specific interaction. For example, CampfireBlockEntity's cooked items are observable states, but chests' inventories are not observable states, since the player must first open that chest before they can see the contents.

      To send all NBT data of this block entity saved to disk, return BlockEntity.createNbt(net.minecraft.registry.RegistryWrapper.WrapperLookup).

      Overrides:
      toInitialChunkDataNbt in class BlockEntity
      Returns:
      the serialized state of this block entity that is observable by clients
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named toInitialChunkDataNbt Lnet/minecraft/block/entity/BlockEntity;toInitialChunkDataNbt(Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)Lnet/minecraft/nbt/NbtCompound;
      intermediary method_16887 Lnet/minecraft/class_2586;method_16887(Lnet/minecraft/class_7225$class_7874;)Lnet/minecraft/class_2487;
      official a Leaz;a(Ljn$a;)Lui;
    • openScreen

      public boolean openScreen(PlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      named openScreen Lnet/minecraft/block/entity/StructureBlockBlockEntity;openScreen(Lnet/minecraft/entity/player/PlayerEntity;)Z
      intermediary method_11351 Lnet/minecraft/class_2633;method_11351(Lnet/minecraft/class_1657;)Z
      official a Lecs;a(Lcut;)Z
    • getTemplateName

      public String getTemplateName()
      Mappings:
      Namespace Name Mixin selector
      named getTemplateName Lnet/minecraft/block/entity/StructureBlockBlockEntity;getTemplateName()Ljava/lang/String;
      intermediary method_11362 Lnet/minecraft/class_2633;method_11362()Ljava/lang/String;
      official d Lecs;d()Ljava/lang/String;
    • hasStructureName

      public boolean hasStructureName()
      Mappings:
      Namespace Name Mixin selector
      named hasStructureName Lnet/minecraft/block/entity/StructureBlockBlockEntity;hasStructureName()Z
      intermediary method_11384 Lnet/minecraft/class_2633;method_11384()Z
      official f Lecs;f()Z
    • setTemplateName

      public void setTemplateName(@Nullable @Nullable String templateName)
      Mappings:
      Namespace Name Mixin selector
      named setTemplateName Lnet/minecraft/block/entity/StructureBlockBlockEntity;setTemplateName(Ljava/lang/String;)V
      intermediary method_11343 Lnet/minecraft/class_2633;method_11343(Ljava/lang/String;)V
      official a Lecs;a(Ljava/lang/String;)V
    • setTemplateName

      public void setTemplateName(@Nullable @Nullable Identifier templateName)
      Mappings:
      Namespace Name Mixin selector
      named setTemplateName Lnet/minecraft/block/entity/StructureBlockBlockEntity;setTemplateName(Lnet/minecraft/util/Identifier;)V
      intermediary method_11344 Lnet/minecraft/class_2633;method_11344(Lnet/minecraft/class_2960;)V
      official a Lecs;a(Lame;)V
    • setAuthor

      public void setAuthor(LivingEntity entity)
      Mappings:
      Namespace Name Mixin selector
      named setAuthor Lnet/minecraft/block/entity/StructureBlockBlockEntity;setAuthor(Lnet/minecraft/entity/LivingEntity;)V
      intermediary method_11373 Lnet/minecraft/class_2633;method_11373(Lnet/minecraft/class_1309;)V
      official a Lecs;a(Lcam;)V
    • getOffset

      public BlockPos getOffset()
      Mappings:
      Namespace Name Mixin selector
      named getOffset Lnet/minecraft/block/entity/StructureBlockBlockEntity;getOffset()Lnet/minecraft/util/math/BlockPos;
      intermediary method_11359 Lnet/minecraft/class_2633;method_11359()Lnet/minecraft/class_2338;
      official j Lecs;j()Ljb;
    • setOffset

      public void setOffset(BlockPos offset)
      Mappings:
      Namespace Name Mixin selector
      named setOffset Lnet/minecraft/block/entity/StructureBlockBlockEntity;setOffset(Lnet/minecraft/util/math/BlockPos;)V
      intermediary method_11378 Lnet/minecraft/class_2633;method_11378(Lnet/minecraft/class_2338;)V
      official a Lecs;a(Ljb;)V
    • getSize

      public Vec3i getSize()
      Mappings:
      Namespace Name Mixin selector
      named getSize Lnet/minecraft/block/entity/StructureBlockBlockEntity;getSize()Lnet/minecraft/util/math/Vec3i;
      intermediary method_11349 Lnet/minecraft/class_2633;method_11349()Lnet/minecraft/class_2382;
      official k Lecs;k()Lkg;
    • setSize

      public void setSize(Vec3i size)
      Mappings:
      Namespace Name Mixin selector
      named setSize Lnet/minecraft/block/entity/StructureBlockBlockEntity;setSize(Lnet/minecraft/util/math/Vec3i;)V
      intermediary method_11377 Lnet/minecraft/class_2633;method_11377(Lnet/minecraft/class_2382;)V
      official a Lecs;a(Lkg;)V
    • getMirror

      public BlockMirror getMirror()
      Mappings:
      Namespace Name Mixin selector
      named getMirror Lnet/minecraft/block/entity/StructureBlockBlockEntity;getMirror()Lnet/minecraft/util/BlockMirror;
      intermediary method_11345 Lnet/minecraft/class_2633;method_11345()Lnet/minecraft/class_2415;
      official u Lecs;u()Ldvd;
    • setMirror

      public void setMirror(BlockMirror mirror)
      Mappings:
      Namespace Name Mixin selector
      named setMirror Lnet/minecraft/block/entity/StructureBlockBlockEntity;setMirror(Lnet/minecraft/util/BlockMirror;)V
      intermediary method_11356 Lnet/minecraft/class_2633;method_11356(Lnet/minecraft/class_2415;)V
      official a Lecs;a(Ldvd;)V
    • getRotation

      public BlockRotation getRotation()
      Mappings:
      Namespace Name Mixin selector
      named getRotation Lnet/minecraft/block/entity/StructureBlockBlockEntity;getRotation()Lnet/minecraft/util/BlockRotation;
      intermediary method_11353 Lnet/minecraft/class_2633;method_11353()Lnet/minecraft/class_2470;
      official v Lecs;v()Ldwu;
    • setRotation

      public void setRotation(BlockRotation rotation)
      Mappings:
      Namespace Name Mixin selector
      named setRotation Lnet/minecraft/block/entity/StructureBlockBlockEntity;setRotation(Lnet/minecraft/util/BlockRotation;)V
      intermediary method_11385 Lnet/minecraft/class_2633;method_11385(Lnet/minecraft/class_2470;)V
      official a Lecs;a(Ldwu;)V
    • getMetadata

      public String getMetadata()
      Mappings:
      Namespace Name Mixin selector
      named getMetadata Lnet/minecraft/block/entity/StructureBlockBlockEntity;getMetadata()Ljava/lang/String;
      intermediary method_11358 Lnet/minecraft/class_2633;method_11358()Ljava/lang/String;
      official w Lecs;w()Ljava/lang/String;
    • setMetadata

      public void setMetadata(String metadata)
      Mappings:
      Namespace Name Mixin selector
      named setMetadata Lnet/minecraft/block/entity/StructureBlockBlockEntity;setMetadata(Ljava/lang/String;)V
      intermediary method_11363 Lnet/minecraft/class_2633;method_11363(Ljava/lang/String;)V
      official b Lecs;b(Ljava/lang/String;)V
    • getMode

      public StructureBlockMode getMode()
      Mappings:
      Namespace Name Mixin selector
      named getMode Lnet/minecraft/block/entity/StructureBlockBlockEntity;getMode()Lnet/minecraft/block/enums/StructureBlockMode;
      intermediary method_11374 Lnet/minecraft/class_2633;method_11374()Lnet/minecraft/class_2776;
      official x Lecs;x()Lefl;
    • setMode

      public void setMode(StructureBlockMode mode)
      Mappings:
      Namespace Name Mixin selector
      named setMode Lnet/minecraft/block/entity/StructureBlockBlockEntity;setMode(Lnet/minecraft/block/enums/StructureBlockMode;)V
      intermediary method_11381 Lnet/minecraft/class_2633;method_11381(Lnet/minecraft/class_2776;)V
      official a Lecs;a(Lefl;)V
    • shouldIgnoreEntities

      public boolean shouldIgnoreEntities()
      Mappings:
      Namespace Name Mixin selector
      named shouldIgnoreEntities Lnet/minecraft/block/entity/StructureBlockBlockEntity;shouldIgnoreEntities()Z
      intermediary method_11367 Lnet/minecraft/class_2633;method_11367()Z
      official y Lecs;y()Z
    • isStrict

      public boolean isStrict()
      Mappings:
      Namespace Name Mixin selector
      named isStrict Lnet/minecraft/block/entity/StructureBlockBlockEntity;isStrict()Z
      intermediary method_66477 Lnet/minecraft/class_2633;method_66477()Z
      official z Lecs;z()Z
    • setIgnoreEntities

      public void setIgnoreEntities(boolean ignoreEntities)
      Mappings:
      Namespace Name Mixin selector
      named setIgnoreEntities Lnet/minecraft/block/entity/StructureBlockBlockEntity;setIgnoreEntities(Z)V
      intermediary method_11352 Lnet/minecraft/class_2633;method_11352(Z)V
      official a Lecs;a(Z)V
    • setStrict

      public void setStrict(boolean bool)
      Mappings:
      Namespace Name Mixin selector
      named setStrict Lnet/minecraft/block/entity/StructureBlockBlockEntity;setStrict(Z)V
      intermediary method_66476 Lnet/minecraft/class_2633;method_66476(Z)V
      official b Lecs;b(Z)V
    • getIntegrity

      public float getIntegrity()
      Mappings:
      Namespace Name Mixin selector
      named getIntegrity Lnet/minecraft/block/entity/StructureBlockBlockEntity;getIntegrity()F
      intermediary method_11346 Lnet/minecraft/class_2633;method_11346()F
      official A Lecs;A()F
    • setIntegrity

      public void setIntegrity(float integrity)
      Mappings:
      Namespace Name Mixin selector
      named setIntegrity Lnet/minecraft/block/entity/StructureBlockBlockEntity;setIntegrity(F)V
      intermediary method_11370 Lnet/minecraft/class_2633;method_11370(F)V
      official a Lecs;a(F)V
    • getSeed

      public long getSeed()
      Mappings:
      Namespace Name Mixin selector
      named getSeed Lnet/minecraft/block/entity/StructureBlockBlockEntity;getSeed()J
      intermediary method_11371 Lnet/minecraft/class_2633;method_11371()J
      official B Lecs;B()J
    • setSeed

      public void setSeed(long seed)
      Mappings:
      Namespace Name Mixin selector
      named setSeed Lnet/minecraft/block/entity/StructureBlockBlockEntity;setSeed(J)V
      intermediary method_11382 Lnet/minecraft/class_2633;method_11382(J)V
      official a Lecs;a(J)V
    • detectStructureSize

      public boolean detectStructureSize()
      Mappings:
      Namespace Name Mixin selector
      named detectStructureSize Lnet/minecraft/block/entity/StructureBlockBlockEntity;detectStructureSize()Z
      intermediary method_11383 Lnet/minecraft/class_2633;method_11383()Z
      official C Lecs;C()Z
    • streamCornerPos

      private Stream<BlockPos> streamCornerPos(BlockPos start, BlockPos end)
      Streams positions of StructureBlockMode.CORNER mode structure blocks with matching names.
      Mappings:
      Namespace Name Mixin selector
      named streamCornerPos Lnet/minecraft/block/entity/StructureBlockBlockEntity;streamCornerPos(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;)Ljava/util/stream/Stream;
      intermediary method_34276 Lnet/minecraft/class_2633;method_34276(Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;)Ljava/util/stream/Stream;
      official a Lecs;a(Ljb;Ljb;)Ljava/util/stream/Stream;
    • getStructureBox

      private static Optional<BlockBox> getStructureBox(BlockPos pos, Stream<BlockPos> corners)
      Mappings:
      Namespace Name Mixin selector
      named getStructureBox Lnet/minecraft/block/entity/StructureBlockBlockEntity;getStructureBox(Lnet/minecraft/util/math/BlockPos;Ljava/util/stream/Stream;)Ljava/util/Optional;
      intermediary method_34277 Lnet/minecraft/class_2633;method_34277(Lnet/minecraft/class_2338;Ljava/util/stream/Stream;)Ljava/util/Optional;
      official a Lecs;a(Ljb;Ljava/util/stream/Stream;)Ljava/util/Optional;
    • saveStructure

      public boolean saveStructure()
      Mappings:
      Namespace Name Mixin selector
      named saveStructure Lnet/minecraft/block/entity/StructureBlockBlockEntity;saveStructure()Z
      intermediary method_11365 Lnet/minecraft/class_2633;method_11365()Z
      official D Lecs;D()Z
    • saveStructure

      public boolean saveStructure(boolean toDisk)
      Mappings:
      Namespace Name Mixin selector
      named saveStructure Lnet/minecraft/block/entity/StructureBlockBlockEntity;saveStructure(Z)Z
      intermediary method_11366 Lnet/minecraft/class_2633;method_11366(Z)Z
      official c Lecs;c(Z)Z
    • saveStructure

      public static boolean saveStructure(ServerWorld world, Identifier templateId, BlockPos start, Vec3i size, boolean ignoreEntities, String author, boolean toDisk, List<Block> list)
      Mappings:
      Namespace Name Mixin selector
      named saveStructure Lnet/minecraft/block/entity/StructureBlockBlockEntity;saveStructure(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/Identifier;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/Vec3i;ZLjava/lang/String;ZLjava/util/List;)Z
      intermediary method_66717 Lnet/minecraft/class_2633;method_66717(Lnet/minecraft/class_3218;Lnet/minecraft/class_2960;Lnet/minecraft/class_2338;Lnet/minecraft/class_2382;ZLjava/lang/String;ZLjava/util/List;)Z
      official a Lecs;a(Laub;Lame;Ljb;Lkg;ZLjava/lang/String;ZLjava/util/List;)Z
    • createRandom

      public static Random createRandom(long seed)
      Mappings:
      Namespace Name Mixin selector
      named createRandom Lnet/minecraft/block/entity/StructureBlockBlockEntity;createRandom(J)Lnet/minecraft/util/math/random/Random;
      intermediary method_20048 Lnet/minecraft/class_2633;method_20048(J)Lnet/minecraft/class_5819;
      official b Lecs;b(J)Lbck;
    • loadAndTryPlaceStructure

      public boolean loadAndTryPlaceStructure(ServerWorld world)
      Mappings:
      Namespace Name Mixin selector
      named loadAndTryPlaceStructure Lnet/minecraft/block/entity/StructureBlockBlockEntity;loadAndTryPlaceStructure(Lnet/minecraft/server/world/ServerWorld;)Z
      intermediary method_54874 Lnet/minecraft/class_2633;method_54874(Lnet/minecraft/class_3218;)Z
      official a Lecs;a(Laub;)Z
    • loadStructure

      public boolean loadStructure(ServerWorld world)
      Mappings:
      Namespace Name Mixin selector
      named loadStructure Lnet/minecraft/block/entity/StructureBlockBlockEntity;loadStructure(Lnet/minecraft/server/world/ServerWorld;)Z
      intermediary method_11376 Lnet/minecraft/class_2633;method_11376(Lnet/minecraft/class_3218;)Z
      official b Lecs;b(Laub;)Z
    • loadStructure

      private void loadStructure(StructureTemplate template)
      Mappings:
      Namespace Name Mixin selector
      named loadStructure Lnet/minecraft/block/entity/StructureBlockBlockEntity;loadStructure(Lnet/minecraft/structure/StructureTemplate;)V
      intermediary method_54877 Lnet/minecraft/class_2633;method_54877(Lnet/minecraft/class_3499;)V
      official a Lecs;a(Leza;)V
    • loadAndPlaceStructure

      public void loadAndPlaceStructure(ServerWorld world)
      Mappings:
      Namespace Name Mixin selector
      named loadAndPlaceStructure Lnet/minecraft/block/entity/StructureBlockBlockEntity;loadAndPlaceStructure(Lnet/minecraft/server/world/ServerWorld;)V
      intermediary method_54878 Lnet/minecraft/class_2633;method_54878(Lnet/minecraft/class_3218;)V
      official c Lecs;c(Laub;)V
    • getStructureTemplate

      @Nullable private @Nullable StructureTemplate getStructureTemplate(ServerWorld world)
      Mappings:
      Namespace Name Mixin selector
      named getStructureTemplate Lnet/minecraft/block/entity/StructureBlockBlockEntity;getStructureTemplate(Lnet/minecraft/server/world/ServerWorld;)Lnet/minecraft/structure/StructureTemplate;
      intermediary method_54879 Lnet/minecraft/class_2633;method_54879(Lnet/minecraft/class_3218;)Lnet/minecraft/class_3499;
      official d Lecs;d(Laub;)Leza;
    • loadAndPlaceStructure

      private void loadAndPlaceStructure(ServerWorld world, StructureTemplate template)
      Mappings:
      Namespace Name Mixin selector
      named loadAndPlaceStructure Lnet/minecraft/block/entity/StructureBlockBlockEntity;loadAndPlaceStructure(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/structure/StructureTemplate;)V
      intermediary method_54875 Lnet/minecraft/class_2633;method_54875(Lnet/minecraft/class_3218;Lnet/minecraft/class_3499;)V
      official a Lecs;a(Laub;Leza;)V
    • unloadStructure

      public void unloadStructure()
      Mappings:
      Namespace Name Mixin selector
      named unloadStructure Lnet/minecraft/block/entity/StructureBlockBlockEntity;unloadStructure()V
      intermediary method_11361 Lnet/minecraft/class_2633;method_11361()V
      official E Lecs;E()V
    • isStructureAvailable

      public boolean isStructureAvailable()
      Mappings:
      Namespace Name Mixin selector
      named isStructureAvailable Lnet/minecraft/block/entity/StructureBlockBlockEntity;isStructureAvailable()Z
      intermediary method_11372 Lnet/minecraft/class_2633;method_11372()Z
      official F Lecs;F()Z
    • isPowered

      public boolean isPowered()
      Mappings:
      Namespace Name Mixin selector
      named isPowered Lnet/minecraft/block/entity/StructureBlockBlockEntity;isPowered()Z
      intermediary method_11354 Lnet/minecraft/class_2633;method_11354()Z
      official G Lecs;G()Z
    • setPowered

      public void setPowered(boolean powered)
      Mappings:
      Namespace Name Mixin selector
      named setPowered Lnet/minecraft/block/entity/StructureBlockBlockEntity;setPowered(Z)V
      intermediary method_11379 Lnet/minecraft/class_2633;method_11379(Z)V
      official d Lecs;d(Z)V
    • shouldShowAir

      public boolean shouldShowAir()
      Mappings:
      Namespace Name Mixin selector
      named shouldShowAir Lnet/minecraft/block/entity/StructureBlockBlockEntity;shouldShowAir()Z
      intermediary method_11375 Lnet/minecraft/class_2633;method_11375()Z
      official H Lecs;H()Z
    • setShowAir

      public void setShowAir(boolean showAir)
      Mappings:
      Namespace Name Mixin selector
      named setShowAir Lnet/minecraft/block/entity/StructureBlockBlockEntity;setShowAir(Z)V
      intermediary method_11347 Lnet/minecraft/class_2633;method_11347(Z)V
      official e Lecs;e(Z)V
    • shouldShowBoundingBox

      public boolean shouldShowBoundingBox()
      Mappings:
      Namespace Name Mixin selector
      named shouldShowBoundingBox Lnet/minecraft/block/entity/StructureBlockBlockEntity;shouldShowBoundingBox()Z
      intermediary method_11357 Lnet/minecraft/class_2633;method_11357()Z
      official I Lecs;I()Z
    • setShowBoundingBox

      public void setShowBoundingBox(boolean showBoundingBox)
      Mappings:
      Namespace Name Mixin selector
      named setShowBoundingBox Lnet/minecraft/block/entity/StructureBlockBlockEntity;setShowBoundingBox(Z)V
      intermediary method_11360 Lnet/minecraft/class_2633;method_11360(Z)V
      official f Lecs;f(Z)V
    • getRenderMode

      public StructureBoxRendering.RenderMode getRenderMode()
      Specified by:
      getRenderMode in interface StructureBoxRendering
      Mappings:
      Namespace Name Mixin selector
      named getRenderMode Lnet/minecraft/block/entity/StructureBoxRendering;getRenderMode()Lnet/minecraft/block/entity/StructureBoxRendering$RenderMode;
      intermediary method_66713 Lnet/minecraft/class_10634;method_66713()Lnet/minecraft/class_10634$class_10635;
      official b Lebc;b()Lebc$a;
    • getStructureBox

      public StructureBoxRendering.StructureBox getStructureBox()
      Specified by:
      getStructureBox in interface StructureBoxRendering
      Mappings:
      Namespace Name Mixin selector
      named getStructureBox Lnet/minecraft/block/entity/StructureBoxRendering;getStructureBox()Lnet/minecraft/block/entity/StructureBoxRendering$StructureBox;
      intermediary method_66714 Lnet/minecraft/class_10634;method_66714()Lnet/minecraft/class_10634$class_10636;
      official c Lebc;c()Lebc$b;