Class StructureBlockBlockEntity
- All Implemented Interfaces:
StructureBoxRendering
- Mappings:
Namespace Name named net/minecraft/block/entity/StructureBlockBlockEntityintermediary net/minecraft/class_2633official dzk
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface net.minecraft.block.entity.StructureBoxRendering
StructureBoxRendering.RenderMode, StructureBoxRendering.StructureBox -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Stringstatic final Stringstatic 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 voidreadNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registries) Reads data fromnbt.booleanbooleansaveStructure(boolean toDisk) static booleansaveStructure(ServerWorld world, Identifier templateId, BlockPos start, Vec3i size, boolean ignoreEntities, String author, boolean toDisk) 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 voidwriteNbt(NbtCompound nbt, RegistryWrapper.WrapperLookup registries) Writes data tonbt.Methods inherited from class net.minecraft.block.entity.BlockEntity
addComponents, cancelRemoval, createComponentlessNbt, createComponentlessNbtWithIdentifyingData, createComponentMap, createFromNbt, createNbt, createNbtWithId, createNbtWithIdentifyingData, getCachedState, getComponents, getPos, getType, getWorld, hasWorld, isRemoved, markDirty, markDirty, markRemoved, onBlockReplaced, onSyncedBlockEvent, populateCrashReport, posFromNbt, read, readComponentlessNbt, readComponents, readComponents, readComponents, removeFromCopiedStackNbt, setCachedState, setComponents, setWorld, supports, tryParseCustomName, writeIdToNbt
-
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 dLdzk;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 aLdzk;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 bLdzk;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 cLdzk;c:Ljava/lang/String;
-
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 eLdzk;e:Lalg;
-
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 fLdzk;f: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 gLdzk;g: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 hLdzk;h:Liv;
-
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 iLdzk;i:Lka;
-
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 jLdzk;j:Ldru;
-
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 kLdzk;k:Ldtl;
-
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 lLdzk;l:Lecd;
-
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 mLdzk;m: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 qLdzk;q: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 rLdzk;r: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 sLdzk;s: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 tLdzk;t: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 uLdzk;u: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 vLdzk;v: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>Ldzk;<init>(Liv;Leat;)V
-
-
Method Details
-
writeNbt
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:
writeNbtin classBlockEntity- See Also:
- Mappings:
Namespace Name Mixin selector named writeNbtLnet/minecraft/block/entity/BlockEntity;writeNbt(Lnet/minecraft/nbt/NbtCompound;Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)Vintermediary method_11007Lnet/minecraft/class_2586;method_11007(Lnet/minecraft/class_2487;Lnet/minecraft/class_7225$class_7874;)Vofficial bLdxr;b(Ltz;Ljh$a;)V
-
readNbt
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:
readNbtin classBlockEntity- See Also:
- Mappings:
Namespace Name Mixin selector named readNbtLnet/minecraft/block/entity/BlockEntity;readNbt(Lnet/minecraft/nbt/NbtCompound;Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)Vintermediary method_11014Lnet/minecraft/class_2586;method_11014(Lnet/minecraft/class_2487;Lnet/minecraft/class_7225$class_7874;)Vofficial aLdxr;a(Ltz;Ljh$a;)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 HLdzk;H()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 toBlockEntity.readNbt(net.minecraft.nbt.NbtCompound, net.minecraft.registry.RegistryWrapper.WrapperLookup)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:
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 aLdzk;a()Laca;
-
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 aLdxr;a(Ljh$a;)Ltz;
-
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 aLdzk;a(Lcrm;)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 dLdzk;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 fLdzk;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 aLdzk;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 aLdzk;a(Lalg;)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 aLdzk;a(Lbxj;)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 jLdzk;j()Liv;
-
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 aLdzk;a(Liv;)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 kLdzk;k()Lka;
-
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 aLdzk;a(Lka;)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 sLdzk;s()Ldru;
-
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 aLdzk;a(Ldru;)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 tLdzk;t()Ldtl;
-
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 aLdzk;a(Ldtl;)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 uLdzk;u()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 bLdzk;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 vLdzk;v()Lecd;
-
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 aLdzk;a(Lecd;)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 wLdzk;w()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 xLdzk;x()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 aLdzk;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 bLdzk;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 yLdzk;y()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 aLdzk;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 zLdzk;z()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 aLdzk;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 ALdzk;A()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 aLdzk;a(Liv;Liv;)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 aLdzk;a(Liv;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 BLdzk;B()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 cLdzk;c(Z)Z
-
saveStructure
public static boolean saveStructure(ServerWorld world, Identifier templateId, BlockPos start, Vec3i size, boolean ignoreEntities, String author, boolean toDisk) - 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;Z)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;Z)Zofficial aLdzk;a(Larq;Lalg;Liv;Lka;ZLjava/lang/String;Z)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 bLdzk;b(J)Lazv;
-
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 aLdzk;a(Larq;)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 bLdzk;b(Larq;)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 aLdzk;a(Levp;)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 cLdzk;c(Larq;)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 dLdzk;d(Larq;)Levp;
-
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 aLdzk;a(Larq;Levp;)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 CLdzk;C()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 DLdzk;D()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 ELdzk;E()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 dLdzk;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 FLdzk;F()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 eLdzk;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 GLdzk;G()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 fLdzk;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 bLdxu;b()Ldxu$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 cLdxu;c()Ldxu$b;
-