Class StructureBlockBlockEntity
- All Implemented Interfaces:
StructureBoxRendering,DebugTrackable
- Mappings:
Namespace Name named net/minecraft/block/entity/StructureBlockBlockEntityintermediary net/minecraft/class_2633official eic
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface net.minecraft.world.debug.DebugTrackable
DebugTrackable.DebugDataSupplier<T>, DebugTrackable.TrackerNested classes/interfaces inherited from interface net.minecraft.block.entity.StructureBoxRendering
StructureBoxRendering.RenderMode, StructureBoxRendering.StructureBox -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stringstatic final Stringprivate static final Stringprivate static final booleanprivate static final floatprivate static final Stringprivate static final BlockMirrorprivate static final BlockPosprivate static final booleanprivate static final BlockRotationprivate static final longprivate static final booleanprivate static final booleanprivate static final Vec3iprivate static final booleanstatic final intstatic final intprivate static final intprivate booleanprivate floatprivate Stringprivate BlockMirrorprivate StructureBlockModeprivate BlockPosprivate booleanprivate BlockRotationprivate longprivate booleanprivate booleanprivate Vec3iprivate booleanprivate @Nullable IdentifierFields inherited from class net.minecraft.block.entity.BlockEntity
pos, removed, world -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RandomcreateRandom(long seed) booleanfloatgetMode()longgetSeed()getSize()getStructureBox(BlockPos pos, Stream<BlockPos> corners) private @Nullable StructureTemplategetStructureTemplate(ServerWorld world) booleanbooleanbooleanisStrict()booleanvoidloadAndPlaceStructure(ServerWorld world) private voidloadAndPlaceStructure(ServerWorld world, StructureTemplate template) booleanbooleanloadStructure(ServerWorld world) private voidloadStructure(StructureTemplate template) booleanopenScreen(PlayerEntity player) protected voidReads data fromnbt.booleanbooleansaveStructure(boolean toDisk) static booleansaveStructure(ServerWorld world, Identifier templateId, BlockPos start, Vec3i size, boolean ignoreEntities, String author, boolean toDisk, List<Block> list) voidsetAuthor(LivingEntity entity) voidsetIgnoreEntities(boolean ignoreEntities) voidsetIntegrity(float integrity) voidsetMetadata(String metadata) voidsetMirror(BlockMirror mirror) voidsetMode(StructureBlockMode mode) voidvoidsetPowered(boolean powered) voidsetRotation(BlockRotation rotation) voidsetSeed(long seed) voidsetShowAir(boolean showAir) voidsetShowBoundingBox(boolean showBoundingBox) voidvoidsetStrict(boolean bool) voidsetTemplateName(@Nullable String templateName) voidsetTemplateName(@Nullable Identifier templateName) booleanbooleanbooleanstreamCornerPos(BlockPos start, BlockPos end) Streams positions ofStructureBlockMode.CORNERmode structure blocks with matching names.toInitialChunkDataNbt(RegistryWrapper.WrapperLookup registries) Returns the serialized state of this block entity that is observable by clients.Returns the packet to send to nearby players when the block entity's observable state changes, ornullto not send the packet.voidprivate voidprotected voidWrites data tonbt.Methods inherited from class net.minecraft.block.entity.BlockEntity
addComponents, cancelRemoval, createComponentlessNbt, createComponentMap, createFromNbt, createNbt, createNbtWithIdentifyingData, getCachedState, getComponents, getNameForReport, getPos, getReporterContext, getType, getWorld, hasWorld, isRemoved, markDirty, markDirty, markRemoved, onBlockReplaced, onSyncedBlockEvent, populateCrashReport, posFromNbt, read, readComponentlessData, readComponents, readComponents, readComponents, registerTracking, removeFromCopiedStackData, setCachedState, setComponents, setWorld, supports, tryParseCustomName, writeComponentlessData, writeDataWithId, writeDataWithoutId, writeFullData, writeId
-
Field Details
-
field_31367
private static final int field_31367- See Also:
- Mappings:
Namespace Name Mixin selector named field_31367Lnet/minecraft/block/entity/StructureBlockBlockEntity;field_31367:Iintermediary field_31367Lnet/minecraft/class_2633;field_31367:Iofficial dLeic;d:I
-
field_31364
public static final int field_31364- See Also:
- Mappings:
Namespace Name Mixin selector named field_31364Lnet/minecraft/block/entity/StructureBlockBlockEntity;field_31364:Iintermediary field_31364Lnet/minecraft/class_2633;field_31364:Iofficial aLeic;a:I
-
field_31365
public static final int field_31365- See Also:
- Mappings:
Namespace Name Mixin selector named field_31365Lnet/minecraft/block/entity/StructureBlockBlockEntity;field_31365:Iintermediary field_31365Lnet/minecraft/class_2633;field_31365:Iofficial bLeic;b:I
-
AUTHOR_KEY
- See Also:
- Mappings:
Namespace Name Mixin selector named AUTHOR_KEYLnet/minecraft/block/entity/StructureBlockBlockEntity;AUTHOR_KEY:Ljava/lang/String;intermediary field_31366Lnet/minecraft/class_2633;field_31366:Ljava/lang/String;official cLeic;c:Ljava/lang/String;
-
DEFAULT_AUTHOR
- See Also:
- Mappings:
Namespace Name Mixin selector named DEFAULT_AUTHORLnet/minecraft/block/entity/StructureBlockBlockEntity;DEFAULT_AUTHOR:Ljava/lang/String;intermediary field_57787Lnet/minecraft/class_2633;field_57787:Ljava/lang/String;official eLeic;e:Ljava/lang/String;
-
DEFAULT_METADATA
- See Also:
- Mappings:
Namespace Name Mixin selector named DEFAULT_METADATALnet/minecraft/block/entity/StructureBlockBlockEntity;DEFAULT_METADATA:Ljava/lang/String;intermediary field_57788Lnet/minecraft/class_2633;field_57788:Ljava/lang/String;official fLeic;f:Ljava/lang/String;
-
DEFAULT_OFFSET
- Mappings:
Namespace Name Mixin selector named DEFAULT_OFFSETLnet/minecraft/block/entity/StructureBlockBlockEntity;DEFAULT_OFFSET:Lnet/minecraft/util/math/BlockPos;intermediary field_57789Lnet/minecraft/class_2633;field_57789:Lnet/minecraft/class_2338;official gLeic;g:Lja;
-
DEFAULT_SIZE
- Mappings:
Namespace Name Mixin selector named DEFAULT_SIZELnet/minecraft/block/entity/StructureBlockBlockEntity;DEFAULT_SIZE:Lnet/minecraft/util/math/Vec3i;intermediary field_57790Lnet/minecraft/class_2633;field_57790:Lnet/minecraft/class_2382;official hLeic;h:Lkf;
-
DEFAULT_ROTATION
- Mappings:
Namespace Name Mixin selector named DEFAULT_ROTATIONLnet/minecraft/block/entity/StructureBlockBlockEntity;DEFAULT_ROTATION:Lnet/minecraft/util/BlockRotation;intermediary field_57791Lnet/minecraft/class_2633;field_57791:Lnet/minecraft/class_2470;official iLeic;i:Lebr;
-
DEFAULT_MIRROR
- Mappings:
Namespace Name Mixin selector named DEFAULT_MIRRORLnet/minecraft/block/entity/StructureBlockBlockEntity;DEFAULT_MIRROR:Lnet/minecraft/util/BlockMirror;intermediary field_57792Lnet/minecraft/class_2633;field_57792:Lnet/minecraft/class_2415;official jLeic;j:Leaa;
-
DEFAULT_IGNORE_ENTITIES
private static final boolean DEFAULT_IGNORE_ENTITIES- See Also:
- Mappings:
Namespace Name Mixin selector named DEFAULT_IGNORE_ENTITIESLnet/minecraft/block/entity/StructureBlockBlockEntity;DEFAULT_IGNORE_ENTITIES:Zintermediary field_57793Lnet/minecraft/class_2633;field_57793:Zofficial kLeic;k:Z
-
DEFAULT_STRICT
private static final boolean DEFAULT_STRICT- See Also:
- Mappings:
Namespace Name Mixin selector named DEFAULT_STRICTLnet/minecraft/block/entity/StructureBlockBlockEntity;DEFAULT_STRICT:Zintermediary field_57794Lnet/minecraft/class_2633;field_57794:Zofficial lLeic;l:Z
-
DEFAULT_POWERED
private static final boolean DEFAULT_POWERED- See Also:
- Mappings:
Namespace Name Mixin selector named DEFAULT_POWEREDLnet/minecraft/block/entity/StructureBlockBlockEntity;DEFAULT_POWERED:Zintermediary field_57795Lnet/minecraft/class_2633;field_57795:Zofficial mLeic;m:Z
-
DEFAULT_SHOW_AIR
private static final boolean DEFAULT_SHOW_AIR- See Also:
- Mappings:
Namespace Name Mixin selector named DEFAULT_SHOW_AIRLnet/minecraft/block/entity/StructureBlockBlockEntity;DEFAULT_SHOW_AIR:Zintermediary field_57796Lnet/minecraft/class_2633;field_57796:Zofficial qLeic;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_BOXLnet/minecraft/block/entity/StructureBlockBlockEntity;DEFAULT_SHOW_BOUNDING_BOX:Zintermediary field_57797Lnet/minecraft/class_2633;field_57797:Zofficial rLeic;r:Z
-
DEFAULT_INTEGRITY
private static final float DEFAULT_INTEGRITY- See Also:
- Mappings:
Namespace Name Mixin selector named DEFAULT_INTEGRITYLnet/minecraft/block/entity/StructureBlockBlockEntity;DEFAULT_INTEGRITY:Fintermediary field_57798Lnet/minecraft/class_2633;field_57798:Fofficial sLeic;s:F
-
DEFAULT_SEED
private static final long DEFAULT_SEED- See Also:
- Mappings:
Namespace Name Mixin selector named DEFAULT_SEEDLnet/minecraft/block/entity/StructureBlockBlockEntity;DEFAULT_SEED:Jintermediary field_57799Lnet/minecraft/class_2633;field_57799:Jofficial tLeic;t:J
-
templateName
- Mappings:
Namespace Name Mixin selector named templateNameLnet/minecraft/block/entity/StructureBlockBlockEntity;templateName:Lnet/minecraft/util/Identifier;intermediary field_12102Lnet/minecraft/class_2633;field_12102:Lnet/minecraft/class_2960;official uLeic;u:Lamj;
-
author
- Mappings:
Namespace Name Mixin selector named authorLnet/minecraft/block/entity/StructureBlockBlockEntity;author:Ljava/lang/String;intermediary field_12104Lnet/minecraft/class_2633;field_12104:Ljava/lang/String;official vLeic;v:Ljava/lang/String;
-
metadata
- Mappings:
Namespace Name Mixin selector named metadataLnet/minecraft/block/entity/StructureBlockBlockEntity;metadata:Ljava/lang/String;intermediary field_12098Lnet/minecraft/class_2633;field_12098:Ljava/lang/String;official wLeic;w:Ljava/lang/String;
-
offset
- Mappings:
Namespace Name Mixin selector named offsetLnet/minecraft/block/entity/StructureBlockBlockEntity;offset:Lnet/minecraft/util/math/BlockPos;intermediary field_12092Lnet/minecraft/class_2633;field_12092:Lnet/minecraft/class_2338;official xLeic;x:Lja;
-
size
- Mappings:
Namespace Name Mixin selector named sizeLnet/minecraft/block/entity/StructureBlockBlockEntity;size:Lnet/minecraft/util/math/Vec3i;intermediary field_12100Lnet/minecraft/class_2633;field_12100:Lnet/minecraft/class_2382;official yLeic;y:Lkf;
-
mirror
- Mappings:
Namespace Name Mixin selector named mirrorLnet/minecraft/block/entity/StructureBlockBlockEntity;mirror:Lnet/minecraft/util/BlockMirror;intermediary field_12093Lnet/minecraft/class_2633;field_12093:Lnet/minecraft/class_2415;official zLeic;z:Leaa;
-
rotation
- Mappings:
Namespace Name Mixin selector named rotationLnet/minecraft/block/entity/StructureBlockBlockEntity;rotation:Lnet/minecraft/util/BlockRotation;intermediary field_12105Lnet/minecraft/class_2633;field_12105:Lnet/minecraft/class_2470;official ALeic;A:Lebr;
-
mode
- Mappings:
Namespace Name Mixin selector named modeLnet/minecraft/block/entity/StructureBlockBlockEntity;mode:Lnet/minecraft/block/enums/StructureBlockMode;intermediary field_12094Lnet/minecraft/class_2633;field_12094:Lnet/minecraft/class_2776;official BLeic;B:Lekx;
-
ignoreEntities
private boolean ignoreEntities- Mappings:
Namespace Name Mixin selector named ignoreEntitiesLnet/minecraft/block/entity/StructureBlockBlockEntity;ignoreEntities:Zintermediary field_12099Lnet/minecraft/class_2633;field_12099:Zofficial CLeic;C:Z
-
strict
private boolean strict- Mappings:
Namespace Name Mixin selector named strictLnet/minecraft/block/entity/StructureBlockBlockEntity;strict:Zintermediary field_55823Lnet/minecraft/class_2633;field_55823:Zofficial DLeic;D:Z
-
powered
private boolean powered- Mappings:
Namespace Name Mixin selector named poweredLnet/minecraft/block/entity/StructureBlockBlockEntity;powered:Zintermediary field_12097Lnet/minecraft/class_2633;field_12097:Zofficial ELeic;E:Z
-
showAir
private boolean showAir- Mappings:
Namespace Name Mixin selector named showAirLnet/minecraft/block/entity/StructureBlockBlockEntity;showAir:Zintermediary field_12096Lnet/minecraft/class_2633;field_12096:Zofficial FLeic;F:Z
-
showBoundingBox
private boolean showBoundingBox- Mappings:
Namespace Name Mixin selector named showBoundingBoxLnet/minecraft/block/entity/StructureBlockBlockEntity;showBoundingBox:Zintermediary field_12095Lnet/minecraft/class_2633;field_12095:Zofficial GLeic;G:Z
-
integrity
private float integrity- Mappings:
Namespace Name Mixin selector named integrityLnet/minecraft/block/entity/StructureBlockBlockEntity;integrity:Fintermediary field_12101Lnet/minecraft/class_2633;field_12101:Fofficial HLeic;H:F
-
seed
private long seed- Mappings:
Namespace Name Mixin selector named seedLnet/minecraft/block/entity/StructureBlockBlockEntity;seed:Jintermediary field_12103Lnet/minecraft/class_2633;field_12103:Jofficial ILeic;I:J
-
-
Constructor Details
-
StructureBlockBlockEntity
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/block/entity/StructureBlockBlockEntity;<init>(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)Vintermediary <init>Lnet/minecraft/class_2633;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)Vofficial <init>Leic;<init>(Lja;Lejm;)V
-
-
Method Details
-
writeData
Writes data tonbt. 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:
writeDatain classBlockEntity- See Also:
- Mappings:
Namespace Name Mixin selector named writeDataLnet/minecraft/block/entity/BlockEntity;writeData(Lnet/minecraft/storage/WriteView;)Vintermediary method_11007Lnet/minecraft/class_2586;method_11007(Lnet/minecraft/class_11372;)Vofficial aLegg;a(Lfir;)V
-
readData
Reads data fromnbt. 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.
nbtmight 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:
readDatain classBlockEntity- See Also:
- Mappings:
Namespace Name Mixin selector named readDataLnet/minecraft/block/entity/BlockEntity;readData(Lnet/minecraft/storage/ReadView;)Vintermediary method_11014Lnet/minecraft/class_2586;method_11014(Lnet/minecraft/class_11368;)Vofficial aLegg;a(Lfip;)V
-
updateBlockMode
private void updateBlockMode()- Mappings:
Namespace Name Mixin selector named updateBlockModeLnet/minecraft/block/entity/StructureBlockBlockEntity;updateBlockMode()Vintermediary method_11348Lnet/minecraft/class_2633;method_11348()Vofficial JLeic;J()V
-
toUpdatePacket
Description copied from class:BlockEntityReturns the packet to send to nearby players when the block entity's observable state changes, ornullto not send the packet.If the data returned by
initial chunk datais suitable for updates, the following shortcut can be used to create an update packet:BlockEntityUpdateS2CPacket.create(this). The NBT will be passed toon the client.invalid reference
#readNbt"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:
toUpdatePacketin classBlockEntity- Returns:
- the packet to send to nearby players when the block entity's observable
state changes, or
nullto not send the packet - See Also:
- Mappings:
Namespace Name Mixin selector named toUpdatePacketLnet/minecraft/block/entity/StructureBlockBlockEntity;toUpdatePacket()Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;intermediary method_38252Lnet/minecraft/class_2633;method_38252()Lnet/minecraft/class_2622;official aLeic;a()Lacx;
-
toInitialChunkDataNbt
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 defaultBlockEntityUpdateS2CPacket."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:
toInitialChunkDataNbtin classBlockEntity- Returns:
- the serialized state of this block entity that is observable by clients
- See Also:
- Mappings:
Namespace Name Mixin selector named toInitialChunkDataNbtLnet/minecraft/block/entity/BlockEntity;toInitialChunkDataNbt(Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)Lnet/minecraft/nbt/NbtCompound;intermediary method_16887Lnet/minecraft/class_2586;method_16887(Lnet/minecraft/class_7225$class_7874;)Lnet/minecraft/class_2487;official aLegg;a(Ljm$a;)Lup;
-
openScreen
- Mappings:
Namespace Name Mixin selector named openScreenLnet/minecraft/block/entity/StructureBlockBlockEntity;openScreen(Lnet/minecraft/entity/player/PlayerEntity;)Zintermediary method_11351Lnet/minecraft/class_2633;method_11351(Lnet/minecraft/class_1657;)Zofficial aLeic;a(Lczl;)Z
-
getTemplateName
- Mappings:
Namespace Name Mixin selector named getTemplateNameLnet/minecraft/block/entity/StructureBlockBlockEntity;getTemplateName()Ljava/lang/String;intermediary method_11362Lnet/minecraft/class_2633;method_11362()Ljava/lang/String;official dLeic;d()Ljava/lang/String;
-
hasStructureName
public boolean hasStructureName()- Mappings:
Namespace Name Mixin selector named hasStructureNameLnet/minecraft/block/entity/StructureBlockBlockEntity;hasStructureName()Zintermediary method_11384Lnet/minecraft/class_2633;method_11384()Zofficial fLeic;f()Z
-
setTemplateName
- Mappings:
Namespace Name Mixin selector named setTemplateNameLnet/minecraft/block/entity/StructureBlockBlockEntity;setTemplateName(Ljava/lang/String;)Vintermediary method_11343Lnet/minecraft/class_2633;method_11343(Ljava/lang/String;)Vofficial aLeic;a(Ljava/lang/String;)V
-
setTemplateName
- Mappings:
Namespace Name Mixin selector named setTemplateNameLnet/minecraft/block/entity/StructureBlockBlockEntity;setTemplateName(Lnet/minecraft/util/Identifier;)Vintermediary method_11344Lnet/minecraft/class_2633;method_11344(Lnet/minecraft/class_2960;)Vofficial aLeic;a(Lamj;)V
-
setAuthor
- Mappings:
Namespace Name Mixin selector named setAuthorLnet/minecraft/block/entity/StructureBlockBlockEntity;setAuthor(Lnet/minecraft/entity/LivingEntity;)Vintermediary method_11373Lnet/minecraft/class_2633;method_11373(Lnet/minecraft/class_1309;)Vofficial aLeic;a(Lcew;)V
-
getOffset
- Mappings:
Namespace Name Mixin selector named getOffsetLnet/minecraft/block/entity/StructureBlockBlockEntity;getOffset()Lnet/minecraft/util/math/BlockPos;intermediary method_11359Lnet/minecraft/class_2633;method_11359()Lnet/minecraft/class_2338;official hLeic;h()Lja;
-
setOffset
- Mappings:
Namespace Name Mixin selector named setOffsetLnet/minecraft/block/entity/StructureBlockBlockEntity;setOffset(Lnet/minecraft/util/math/BlockPos;)Vintermediary method_11378Lnet/minecraft/class_2633;method_11378(Lnet/minecraft/class_2338;)Vofficial aLeic;a(Lja;)V
-
getSize
- Mappings:
Namespace Name Mixin selector named getSizeLnet/minecraft/block/entity/StructureBlockBlockEntity;getSize()Lnet/minecraft/util/math/Vec3i;intermediary method_11349Lnet/minecraft/class_2633;method_11349()Lnet/minecraft/class_2382;official kLeic;k()Lkf;
-
setSize
- Mappings:
Namespace Name Mixin selector named setSizeLnet/minecraft/block/entity/StructureBlockBlockEntity;setSize(Lnet/minecraft/util/math/Vec3i;)Vintermediary method_11377Lnet/minecraft/class_2633;method_11377(Lnet/minecraft/class_2382;)Vofficial aLeic;a(Lkf;)V
-
getMirror
- Mappings:
Namespace Name Mixin selector named getMirrorLnet/minecraft/block/entity/StructureBlockBlockEntity;getMirror()Lnet/minecraft/util/BlockMirror;intermediary method_11345Lnet/minecraft/class_2633;method_11345()Lnet/minecraft/class_2415;official lLeic;l()Leaa;
-
setMirror
- Mappings:
Namespace Name Mixin selector named setMirrorLnet/minecraft/block/entity/StructureBlockBlockEntity;setMirror(Lnet/minecraft/util/BlockMirror;)Vintermediary method_11356Lnet/minecraft/class_2633;method_11356(Lnet/minecraft/class_2415;)Vofficial aLeic;a(Leaa;)V
-
getRotation
- Mappings:
Namespace Name Mixin selector named getRotationLnet/minecraft/block/entity/StructureBlockBlockEntity;getRotation()Lnet/minecraft/util/BlockRotation;intermediary method_11353Lnet/minecraft/class_2633;method_11353()Lnet/minecraft/class_2470;official mLeic;m()Lebr;
-
setRotation
- Mappings:
Namespace Name Mixin selector named setRotationLnet/minecraft/block/entity/StructureBlockBlockEntity;setRotation(Lnet/minecraft/util/BlockRotation;)Vintermediary method_11385Lnet/minecraft/class_2633;method_11385(Lnet/minecraft/class_2470;)Vofficial aLeic;a(Lebr;)V
-
getMetadata
- Mappings:
Namespace Name Mixin selector named getMetadataLnet/minecraft/block/entity/StructureBlockBlockEntity;getMetadata()Ljava/lang/String;intermediary method_11358Lnet/minecraft/class_2633;method_11358()Ljava/lang/String;official wLeic;w()Ljava/lang/String;
-
setMetadata
- Mappings:
Namespace Name Mixin selector named setMetadataLnet/minecraft/block/entity/StructureBlockBlockEntity;setMetadata(Ljava/lang/String;)Vintermediary method_11363Lnet/minecraft/class_2633;method_11363(Ljava/lang/String;)Vofficial bLeic;b(Ljava/lang/String;)V
-
getMode
- Mappings:
Namespace Name Mixin selector named getModeLnet/minecraft/block/entity/StructureBlockBlockEntity;getMode()Lnet/minecraft/block/enums/StructureBlockMode;intermediary method_11374Lnet/minecraft/class_2633;method_11374()Lnet/minecraft/class_2776;official xLeic;x()Lekx;
-
setMode
- Mappings:
Namespace Name Mixin selector named setModeLnet/minecraft/block/entity/StructureBlockBlockEntity;setMode(Lnet/minecraft/block/enums/StructureBlockMode;)Vintermediary method_11381Lnet/minecraft/class_2633;method_11381(Lnet/minecraft/class_2776;)Vofficial aLeic;a(Lekx;)V
-
shouldIgnoreEntities
public boolean shouldIgnoreEntities()- Mappings:
Namespace Name Mixin selector named shouldIgnoreEntitiesLnet/minecraft/block/entity/StructureBlockBlockEntity;shouldIgnoreEntities()Zintermediary method_11367Lnet/minecraft/class_2633;method_11367()Zofficial yLeic;y()Z
-
isStrict
public boolean isStrict()- Mappings:
Namespace Name Mixin selector named isStrictLnet/minecraft/block/entity/StructureBlockBlockEntity;isStrict()Zintermediary method_66477Lnet/minecraft/class_2633;method_66477()Zofficial zLeic;z()Z
-
setIgnoreEntities
public void setIgnoreEntities(boolean ignoreEntities) - Mappings:
Namespace Name Mixin selector named setIgnoreEntitiesLnet/minecraft/block/entity/StructureBlockBlockEntity;setIgnoreEntities(Z)Vintermediary method_11352Lnet/minecraft/class_2633;method_11352(Z)Vofficial aLeic;a(Z)V
-
setStrict
public void setStrict(boolean bool) - Mappings:
Namespace Name Mixin selector named setStrictLnet/minecraft/block/entity/StructureBlockBlockEntity;setStrict(Z)Vintermediary method_66476Lnet/minecraft/class_2633;method_66476(Z)Vofficial bLeic;b(Z)V
-
getIntegrity
public float getIntegrity()- Mappings:
Namespace Name Mixin selector named getIntegrityLnet/minecraft/block/entity/StructureBlockBlockEntity;getIntegrity()Fintermediary method_11346Lnet/minecraft/class_2633;method_11346()Fofficial ALeic;A()F
-
setIntegrity
public void setIntegrity(float integrity) - Mappings:
Namespace Name Mixin selector named setIntegrityLnet/minecraft/block/entity/StructureBlockBlockEntity;setIntegrity(F)Vintermediary method_11370Lnet/minecraft/class_2633;method_11370(F)Vofficial aLeic;a(F)V
-
getSeed
public long getSeed()- Mappings:
Namespace Name Mixin selector named getSeedLnet/minecraft/block/entity/StructureBlockBlockEntity;getSeed()Jintermediary method_11371Lnet/minecraft/class_2633;method_11371()Jofficial BLeic;B()J
-
setSeed
public void setSeed(long seed) - Mappings:
Namespace Name Mixin selector named setSeedLnet/minecraft/block/entity/StructureBlockBlockEntity;setSeed(J)Vintermediary method_11382Lnet/minecraft/class_2633;method_11382(J)Vofficial aLeic;a(J)V
-
detectStructureSize
public boolean detectStructureSize()- Mappings:
Namespace Name Mixin selector named detectStructureSizeLnet/minecraft/block/entity/StructureBlockBlockEntity;detectStructureSize()Zintermediary method_11383Lnet/minecraft/class_2633;method_11383()Zofficial CLeic;C()Z
-
streamCornerPos
Streams positions ofStructureBlockMode.CORNERmode structure blocks with matching names.- Mappings:
Namespace Name Mixin selector named streamCornerPosLnet/minecraft/block/entity/StructureBlockBlockEntity;streamCornerPos(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;)Ljava/util/stream/Stream;intermediary method_34276Lnet/minecraft/class_2633;method_34276(Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;)Ljava/util/stream/Stream;official aLeic;a(Lja;Lja;)Ljava/util/stream/Stream;
-
getStructureBox
- Mappings:
Namespace Name Mixin selector named getStructureBoxLnet/minecraft/block/entity/StructureBlockBlockEntity;getStructureBox(Lnet/minecraft/util/math/BlockPos;Ljava/util/stream/Stream;)Ljava/util/Optional;intermediary method_34277Lnet/minecraft/class_2633;method_34277(Lnet/minecraft/class_2338;Ljava/util/stream/Stream;)Ljava/util/Optional;official aLeic;a(Lja;Ljava/util/stream/Stream;)Ljava/util/Optional;
-
saveStructure
public boolean saveStructure()- Mappings:
Namespace Name Mixin selector named saveStructureLnet/minecraft/block/entity/StructureBlockBlockEntity;saveStructure()Zintermediary method_11365Lnet/minecraft/class_2633;method_11365()Zofficial DLeic;D()Z
-
saveStructure
public boolean saveStructure(boolean toDisk) - Mappings:
Namespace Name Mixin selector named saveStructureLnet/minecraft/block/entity/StructureBlockBlockEntity;saveStructure(Z)Zintermediary method_11366Lnet/minecraft/class_2633;method_11366(Z)Zofficial cLeic;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 saveStructureLnet/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;)Zintermediary method_66717Lnet/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;)Zofficial aLeic;a(Lawx;Lamj;Lja;Lkf;ZLjava/lang/String;ZLjava/util/List;)Z
-
createRandom
- Mappings:
Namespace Name Mixin selector named createRandomLnet/minecraft/block/entity/StructureBlockBlockEntity;createRandom(J)Lnet/minecraft/util/math/random/Random;intermediary method_20048Lnet/minecraft/class_2633;method_20048(J)Lnet/minecraft/class_5819;official bLeic;b(J)Lbfq;
-
loadAndTryPlaceStructure
- Mappings:
Namespace Name Mixin selector named loadAndTryPlaceStructureLnet/minecraft/block/entity/StructureBlockBlockEntity;loadAndTryPlaceStructure(Lnet/minecraft/server/world/ServerWorld;)Zintermediary method_54874Lnet/minecraft/class_2633;method_54874(Lnet/minecraft/class_3218;)Zofficial aLeic;a(Lawx;)Z
-
loadStructure
- Mappings:
Namespace Name Mixin selector named loadStructureLnet/minecraft/block/entity/StructureBlockBlockEntity;loadStructure(Lnet/minecraft/server/world/ServerWorld;)Zintermediary method_11376Lnet/minecraft/class_2633;method_11376(Lnet/minecraft/class_3218;)Zofficial bLeic;b(Lawx;)Z
-
loadStructure
- Mappings:
Namespace Name Mixin selector named loadStructureLnet/minecraft/block/entity/StructureBlockBlockEntity;loadStructure(Lnet/minecraft/structure/StructureTemplate;)Vintermediary method_54877Lnet/minecraft/class_2633;method_54877(Lnet/minecraft/class_3499;)Vofficial aLeic;a(Lfep;)V
-
loadAndPlaceStructure
- Mappings:
Namespace Name Mixin selector named loadAndPlaceStructureLnet/minecraft/block/entity/StructureBlockBlockEntity;loadAndPlaceStructure(Lnet/minecraft/server/world/ServerWorld;)Vintermediary method_54878Lnet/minecraft/class_2633;method_54878(Lnet/minecraft/class_3218;)Vofficial cLeic;c(Lawx;)V
-
getStructureTemplate
- Mappings:
Namespace Name Mixin selector named getStructureTemplateLnet/minecraft/block/entity/StructureBlockBlockEntity;getStructureTemplate(Lnet/minecraft/server/world/ServerWorld;)Lnet/minecraft/structure/StructureTemplate;intermediary method_54879Lnet/minecraft/class_2633;method_54879(Lnet/minecraft/class_3218;)Lnet/minecraft/class_3499;official dLeic;d(Lawx;)Lfep;
-
loadAndPlaceStructure
- Mappings:
Namespace Name Mixin selector named loadAndPlaceStructureLnet/minecraft/block/entity/StructureBlockBlockEntity;loadAndPlaceStructure(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/structure/StructureTemplate;)Vintermediary method_54875Lnet/minecraft/class_2633;method_54875(Lnet/minecraft/class_3218;Lnet/minecraft/class_3499;)Vofficial aLeic;a(Lawx;Lfep;)V
-
unloadStructure
public void unloadStructure()- Mappings:
Namespace Name Mixin selector named unloadStructureLnet/minecraft/block/entity/StructureBlockBlockEntity;unloadStructure()Vintermediary method_11361Lnet/minecraft/class_2633;method_11361()Vofficial ELeic;E()V
-
isStructureAvailable
public boolean isStructureAvailable()- Mappings:
Namespace Name Mixin selector named isStructureAvailableLnet/minecraft/block/entity/StructureBlockBlockEntity;isStructureAvailable()Zintermediary method_11372Lnet/minecraft/class_2633;method_11372()Zofficial FLeic;F()Z
-
isPowered
public boolean isPowered()- Mappings:
Namespace Name Mixin selector named isPoweredLnet/minecraft/block/entity/StructureBlockBlockEntity;isPowered()Zintermediary method_11354Lnet/minecraft/class_2633;method_11354()Zofficial GLeic;G()Z
-
setPowered
public void setPowered(boolean powered) - Mappings:
Namespace Name Mixin selector named setPoweredLnet/minecraft/block/entity/StructureBlockBlockEntity;setPowered(Z)Vintermediary method_11379Lnet/minecraft/class_2633;method_11379(Z)Vofficial dLeic;d(Z)V
-
shouldShowAir
public boolean shouldShowAir()- Mappings:
Namespace Name Mixin selector named shouldShowAirLnet/minecraft/block/entity/StructureBlockBlockEntity;shouldShowAir()Zintermediary method_11375Lnet/minecraft/class_2633;method_11375()Zofficial HLeic;H()Z
-
setShowAir
public void setShowAir(boolean showAir) - Mappings:
Namespace Name Mixin selector named setShowAirLnet/minecraft/block/entity/StructureBlockBlockEntity;setShowAir(Z)Vintermediary method_11347Lnet/minecraft/class_2633;method_11347(Z)Vofficial eLeic;e(Z)V
-
shouldShowBoundingBox
public boolean shouldShowBoundingBox()- Mappings:
Namespace Name Mixin selector named shouldShowBoundingBoxLnet/minecraft/block/entity/StructureBlockBlockEntity;shouldShowBoundingBox()Zintermediary method_11357Lnet/minecraft/class_2633;method_11357()Zofficial ILeic;I()Z
-
setShowBoundingBox
public void setShowBoundingBox(boolean showBoundingBox) - Mappings:
Namespace Name Mixin selector named setShowBoundingBoxLnet/minecraft/block/entity/StructureBlockBlockEntity;setShowBoundingBox(Z)Vintermediary method_11360Lnet/minecraft/class_2633;method_11360(Z)Vofficial fLeic;f(Z)V
-
getRenderMode
- Specified by:
getRenderModein interfaceStructureBoxRendering- Mappings:
Namespace Name Mixin selector named getRenderModeLnet/minecraft/block/entity/StructureBoxRendering;getRenderMode()Lnet/minecraft/block/entity/StructureBoxRendering$RenderMode;intermediary method_66713Lnet/minecraft/class_10634;method_66713()Lnet/minecraft/class_10634$class_10635;official bLegj;b()Legj$a;
-
getStructureBox
- Specified by:
getStructureBoxin interfaceStructureBoxRendering- Mappings:
Namespace Name Mixin selector named getStructureBoxLnet/minecraft/block/entity/StructureBoxRendering;getStructureBox()Lnet/minecraft/block/entity/StructureBoxRendering$StructureBox;intermediary method_66714Lnet/minecraft/class_10634;method_66714()Lnet/minecraft/class_10634$class_10636;official cLegj;c()Legj$b;
-