Package net.minecraft.block.entity
Class StructureBlockBlockEntity
java.lang.Object
net.minecraft.block.entity.BlockEntity
net.minecraft.block.entity.StructureBlockBlockEntity
public class StructureBlockBlockEntity extends BlockEntity
- Mappings:
Namespace Name official cgv
intermediary net/minecraft/class_2633
named net/minecraft/block/entity/StructureBlockBlockEntity
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StructureBlockBlockEntity.Action
-
Field Summary
Fields Modifier and Type Field Description private String
author
private boolean
ignoreEntities
private float
integrity
private String
metadata
private BlockMirror
mirror
private StructureBlockMode
mode
private BlockPos
offset
private boolean
powered
private BlockRotation
rotation
private long
seed
private boolean
showAir
private boolean
showBoundingBox
private BlockPos
size
private Identifier
structureName
Fields inherited from class net.minecraft.block.entity.BlockEntity
pos, removed, world
-
Constructor Summary
Constructors Constructor Description StructureBlockBlockEntity(BlockPos pos, BlockState state)
-
Method Summary
Methods inherited from class net.minecraft.block.entity.BlockEntity
cancelRemoval, copyItemDataRequiresOperator, createFromTag, getCachedState, getPos, getType, getWorld, hasWorld, isRemoved, markDirty, markDirty, markRemoved, onSyncedBlockEvent, populateCrashReport, setCachedState, setWorld
-
Field Details
-
structureName
- Mappings:
Namespace Name Mixin selector official a
Lcgv;a:Lwb;
intermediary field_12102
Lnet/minecraft/class_2633;field_12102:Lnet/minecraft/class_2960;
named structureName
Lnet/minecraft/block/entity/StructureBlockBlockEntity;structureName:Lnet/minecraft/util/Identifier;
-
author
- Mappings:
Namespace Name Mixin selector official b
Lcgv;b:Ljava/lang/String;
intermediary field_12104
Lnet/minecraft/class_2633;field_12104:Ljava/lang/String;
named author
Lnet/minecraft/block/entity/StructureBlockBlockEntity;author:Ljava/lang/String;
-
metadata
- Mappings:
Namespace Name Mixin selector official c
Lcgv;c:Ljava/lang/String;
intermediary field_12098
Lnet/minecraft/class_2633;field_12098:Ljava/lang/String;
named metadata
Lnet/minecraft/block/entity/StructureBlockBlockEntity;metadata:Ljava/lang/String;
-
offset
- Mappings:
Namespace Name Mixin selector official g
Lcgv;g:Lfx;
intermediary field_12092
Lnet/minecraft/class_2633;field_12092:Lnet/minecraft/class_2338;
named offset
Lnet/minecraft/block/entity/StructureBlockBlockEntity;offset:Lnet/minecraft/util/math/BlockPos;
-
size
- Mappings:
Namespace Name Mixin selector official h
Lcgv;h:Lfx;
intermediary field_12100
Lnet/minecraft/class_2633;field_12100:Lnet/minecraft/class_2338;
named size
Lnet/minecraft/block/entity/StructureBlockBlockEntity;size:Lnet/minecraft/util/math/BlockPos;
-
mirror
- Mappings:
Namespace Name Mixin selector official i
Lcgv;i:Lcbb;
intermediary field_12093
Lnet/minecraft/class_2633;field_12093:Lnet/minecraft/class_2415;
named mirror
Lnet/minecraft/block/entity/StructureBlockBlockEntity;mirror:Lnet/minecraft/util/BlockMirror;
-
rotation
- Mappings:
Namespace Name Mixin selector official j
Lcgv;j:Lccm;
intermediary field_12105
Lnet/minecraft/class_2633;field_12105:Lnet/minecraft/class_2470;
named rotation
Lnet/minecraft/block/entity/StructureBlockBlockEntity;rotation:Lnet/minecraft/util/BlockRotation;
-
mode
- Mappings:
Namespace Name Mixin selector official k
Lcgv;k:Lcjc;
intermediary field_12094
Lnet/minecraft/class_2633;field_12094:Lnet/minecraft/class_2776;
named mode
Lnet/minecraft/block/entity/StructureBlockBlockEntity;mode:Lnet/minecraft/block/enums/StructureBlockMode;
-
ignoreEntities
private boolean ignoreEntities- Mappings:
Namespace Name Mixin selector official l
Lcgv;l:Z
intermediary field_12099
Lnet/minecraft/class_2633;field_12099:Z
named ignoreEntities
Lnet/minecraft/block/entity/StructureBlockBlockEntity;ignoreEntities:Z
-
powered
private boolean powered- Mappings:
Namespace Name Mixin selector official m
Lcgv;m:Z
intermediary field_12097
Lnet/minecraft/class_2633;field_12097:Z
named powered
Lnet/minecraft/block/entity/StructureBlockBlockEntity;powered:Z
-
showAir
private boolean showAir- Mappings:
Namespace Name Mixin selector official n
Lcgv;n:Z
intermediary field_12096
Lnet/minecraft/class_2633;field_12096:Z
named showAir
Lnet/minecraft/block/entity/StructureBlockBlockEntity;showAir:Z
-
showBoundingBox
private boolean showBoundingBox- Mappings:
Namespace Name Mixin selector official o
Lcgv;o:Z
intermediary field_12095
Lnet/minecraft/class_2633;field_12095:Z
named showBoundingBox
Lnet/minecraft/block/entity/StructureBlockBlockEntity;showBoundingBox:Z
-
integrity
private float integrity- Mappings:
Namespace Name Mixin selector official p
Lcgv;p:F
intermediary field_12101
Lnet/minecraft/class_2633;field_12101:F
named integrity
Lnet/minecraft/block/entity/StructureBlockBlockEntity;integrity:F
-
seed
private long seed- Mappings:
Namespace Name Mixin selector official q
Lcgv;q:J
intermediary field_12103
Lnet/minecraft/class_2633;field_12103:J
named seed
Lnet/minecraft/block/entity/StructureBlockBlockEntity;seed:J
-
-
Constructor Details
-
StructureBlockBlockEntity
- Mappings:
Namespace Name Mixin selector official <init>
Lcgv;<init>(Lfx;Lcht;)V
intermediary <init>
Lnet/minecraft/class_2633;<init>(Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;)V
named <init>
Lnet/minecraft/block/entity/StructureBlockBlockEntity;<init>(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
-
-
Method Details
-
getSquaredRenderDistance
- Overrides:
getSquaredRenderDistance
in classBlockEntity
- Mappings:
Namespace Name Mixin selector official ap_
Lcfr;ap_()D
intermediary method_11006
Lnet/minecraft/class_2586;method_11006()D
named getSquaredRenderDistance
Lnet/minecraft/block/entity/BlockEntity;getSquaredRenderDistance()D
-
toTag
- Overrides:
toTag
in classBlockEntity
- Mappings:
Namespace Name Mixin selector official b
Lcfr;b(Lmq;)Lmq;
intermediary method_11007
Lnet/minecraft/class_2586;method_11007(Lnet/minecraft/class_2487;)Lnet/minecraft/class_2487;
named toTag
Lnet/minecraft/block/entity/BlockEntity;toTag(Lnet/minecraft/nbt/CompoundTag;)Lnet/minecraft/nbt/CompoundTag;
-
fromTag
- Overrides:
fromTag
in classBlockEntity
- Mappings:
Namespace Name Mixin selector official a
Lcfr;a(Lmq;)V
intermediary method_11014
Lnet/minecraft/class_2586;method_11014(Lnet/minecraft/class_2487;)V
named fromTag
Lnet/minecraft/block/entity/BlockEntity;fromTag(Lnet/minecraft/nbt/CompoundTag;)V
-
updateBlockMode
private void updateBlockMode()- Mappings:
Namespace Name Mixin selector official G
Lcgv;G()V
intermediary method_11348
Lnet/minecraft/class_2633;method_11348()V
named updateBlockMode
Lnet/minecraft/block/entity/StructureBlockBlockEntity;updateBlockMode()V
-
toUpdatePacket
- Overrides:
toUpdatePacket
in classBlockEntity
- Mappings:
Namespace Name Mixin selector official a
Lcfr;a()Lpo;
intermediary method_16886
Lnet/minecraft/class_2586;method_16886()Lnet/minecraft/class_2622;
named toUpdatePacket
Lnet/minecraft/block/entity/BlockEntity;toUpdatePacket()Lnet/minecraft/network/packet/s2c/play/BlockEntityUpdateS2CPacket;
-
toInitialChunkDataTag
- Overrides:
toInitialChunkDataTag
in classBlockEntity
- Mappings:
Namespace Name Mixin selector official b
Lcfr;b()Lmq;
intermediary method_16887
Lnet/minecraft/class_2586;method_16887()Lnet/minecraft/class_2487;
named toInitialChunkDataTag
Lnet/minecraft/block/entity/BlockEntity;toInitialChunkDataTag()Lnet/minecraft/nbt/CompoundTag;
-
openScreen
- Mappings:
Namespace Name Mixin selector official a
Lcgv;a(Lbhl;)Z
intermediary method_11351
Lnet/minecraft/class_2633;method_11351(Lnet/minecraft/class_1657;)Z
named openScreen
Lnet/minecraft/block/entity/StructureBlockBlockEntity;openScreen(Lnet/minecraft/entity/player/PlayerEntity;)Z
-
getStructureName
- Mappings:
Namespace Name Mixin selector official d
Lcgv;d()Ljava/lang/String;
intermediary method_11362
Lnet/minecraft/class_2633;method_11362()Ljava/lang/String;
named getStructureName
Lnet/minecraft/block/entity/StructureBlockBlockEntity;getStructureName()Ljava/lang/String;
-
getStructurePath
- Mappings:
Namespace Name Mixin selector official f
Lcgv;f()Ljava/lang/String;
intermediary method_21865
Lnet/minecraft/class_2633;method_21865()Ljava/lang/String;
named getStructurePath
Lnet/minecraft/block/entity/StructureBlockBlockEntity;getStructurePath()Ljava/lang/String;
-
hasStructureName
public boolean hasStructureName()- Mappings:
Namespace Name Mixin selector official h
Lcgv;h()Z
intermediary method_11384
Lnet/minecraft/class_2633;method_11384()Z
named hasStructureName
Lnet/minecraft/block/entity/StructureBlockBlockEntity;hasStructureName()Z
-
setStructureName
- Mappings:
Namespace Name Mixin selector official a
Lcgv;a(Ljava/lang/String;)V
intermediary method_11343
Lnet/minecraft/class_2633;method_11343(Ljava/lang/String;)V
named setStructureName
Lnet/minecraft/block/entity/StructureBlockBlockEntity;setStructureName(Ljava/lang/String;)V
-
setStructureName
- Mappings:
Namespace Name Mixin selector official a
Lcgv;a(Lwb;)V
intermediary method_11344
Lnet/minecraft/class_2633;method_11344(Lnet/minecraft/class_2960;)V
named setStructureName
Lnet/minecraft/block/entity/StructureBlockBlockEntity;setStructureName(Lnet/minecraft/util/Identifier;)V
-
setAuthor
- Mappings:
Namespace Name Mixin selector official a
Lcgv;a(Lari;)V
intermediary method_11373
Lnet/minecraft/class_2633;method_11373(Lnet/minecraft/class_1309;)V
named setAuthor
Lnet/minecraft/block/entity/StructureBlockBlockEntity;setAuthor(Lnet/minecraft/entity/LivingEntity;)V
-
getOffset
- Mappings:
Namespace Name Mixin selector official i
Lcgv;i()Lfx;
intermediary method_11359
Lnet/minecraft/class_2633;method_11359()Lnet/minecraft/class_2338;
named getOffset
Lnet/minecraft/block/entity/StructureBlockBlockEntity;getOffset()Lnet/minecraft/util/math/BlockPos;
-
setOffset
- Mappings:
Namespace Name Mixin selector official a
Lcgv;a(Lfx;)V
intermediary method_11378
Lnet/minecraft/class_2633;method_11378(Lnet/minecraft/class_2338;)V
named setOffset
Lnet/minecraft/block/entity/StructureBlockBlockEntity;setOffset(Lnet/minecraft/util/math/BlockPos;)V
-
getSize
- Mappings:
Namespace Name Mixin selector official j
Lcgv;j()Lfx;
intermediary method_11349
Lnet/minecraft/class_2633;method_11349()Lnet/minecraft/class_2338;
named getSize
Lnet/minecraft/block/entity/StructureBlockBlockEntity;getSize()Lnet/minecraft/util/math/BlockPos;
-
setSize
- Mappings:
Namespace Name Mixin selector official b
Lcgv;b(Lfx;)V
intermediary method_11377
Lnet/minecraft/class_2633;method_11377(Lnet/minecraft/class_2338;)V
named setSize
Lnet/minecraft/block/entity/StructureBlockBlockEntity;setSize(Lnet/minecraft/util/math/BlockPos;)V
-
getMirror
- Mappings:
Namespace Name Mixin selector official k
Lcgv;k()Lcbb;
intermediary method_11345
Lnet/minecraft/class_2633;method_11345()Lnet/minecraft/class_2415;
named getMirror
Lnet/minecraft/block/entity/StructureBlockBlockEntity;getMirror()Lnet/minecraft/util/BlockMirror;
-
setMirror
- Mappings:
Namespace Name Mixin selector official a
Lcgv;a(Lcbb;)V
intermediary method_11356
Lnet/minecraft/class_2633;method_11356(Lnet/minecraft/class_2415;)V
named setMirror
Lnet/minecraft/block/entity/StructureBlockBlockEntity;setMirror(Lnet/minecraft/util/BlockMirror;)V
-
getRotation
- Mappings:
Namespace Name Mixin selector official t
Lcgv;t()Lccm;
intermediary method_11353
Lnet/minecraft/class_2633;method_11353()Lnet/minecraft/class_2470;
named getRotation
Lnet/minecraft/block/entity/StructureBlockBlockEntity;getRotation()Lnet/minecraft/util/BlockRotation;
-
setRotation
- Mappings:
Namespace Name Mixin selector official a
Lcgv;a(Lccm;)V
intermediary method_11385
Lnet/minecraft/class_2633;method_11385(Lnet/minecraft/class_2470;)V
named setRotation
Lnet/minecraft/block/entity/StructureBlockBlockEntity;setRotation(Lnet/minecraft/util/BlockRotation;)V
-
getMetadata
- Mappings:
Namespace Name Mixin selector official u
Lcgv;u()Ljava/lang/String;
intermediary method_11358
Lnet/minecraft/class_2633;method_11358()Ljava/lang/String;
named getMetadata
Lnet/minecraft/block/entity/StructureBlockBlockEntity;getMetadata()Ljava/lang/String;
-
setMetadata
- Mappings:
Namespace Name Mixin selector official b
Lcgv;b(Ljava/lang/String;)V
intermediary method_11363
Lnet/minecraft/class_2633;method_11363(Ljava/lang/String;)V
named setMetadata
Lnet/minecraft/block/entity/StructureBlockBlockEntity;setMetadata(Ljava/lang/String;)V
-
getMode
- Mappings:
Namespace Name Mixin selector official v
Lcgv;v()Lcjc;
intermediary method_11374
Lnet/minecraft/class_2633;method_11374()Lnet/minecraft/class_2776;
named getMode
Lnet/minecraft/block/entity/StructureBlockBlockEntity;getMode()Lnet/minecraft/block/enums/StructureBlockMode;
-
setMode
- Mappings:
Namespace Name Mixin selector official a
Lcgv;a(Lcjc;)V
intermediary method_11381
Lnet/minecraft/class_2633;method_11381(Lnet/minecraft/class_2776;)V
named setMode
Lnet/minecraft/block/entity/StructureBlockBlockEntity;setMode(Lnet/minecraft/block/enums/StructureBlockMode;)V
-
shouldIgnoreEntities
- Mappings:
Namespace Name Mixin selector official w
Lcgv;w()Z
intermediary method_11367
Lnet/minecraft/class_2633;method_11367()Z
named shouldIgnoreEntities
Lnet/minecraft/block/entity/StructureBlockBlockEntity;shouldIgnoreEntities()Z
-
setIgnoreEntities
public void setIgnoreEntities(boolean ignoreEntities)- Mappings:
Namespace Name Mixin selector official a
Lcgv;a(Z)V
intermediary method_11352
Lnet/minecraft/class_2633;method_11352(Z)V
named setIgnoreEntities
Lnet/minecraft/block/entity/StructureBlockBlockEntity;setIgnoreEntities(Z)V
-
getIntegrity
- Mappings:
Namespace Name Mixin selector official x
Lcgv;x()F
intermediary method_11346
Lnet/minecraft/class_2633;method_11346()F
named getIntegrity
Lnet/minecraft/block/entity/StructureBlockBlockEntity;getIntegrity()F
-
setIntegrity
public void setIntegrity(float integrity)- Mappings:
Namespace Name Mixin selector official a
Lcgv;a(F)V
intermediary method_11370
Lnet/minecraft/class_2633;method_11370(F)V
named setIntegrity
Lnet/minecraft/block/entity/StructureBlockBlockEntity;setIntegrity(F)V
-
getSeed
- Mappings:
Namespace Name Mixin selector official y
Lcgv;y()J
intermediary method_11371
Lnet/minecraft/class_2633;method_11371()J
named getSeed
Lnet/minecraft/block/entity/StructureBlockBlockEntity;getSeed()J
-
setSeed
public void setSeed(long seed)- Mappings:
Namespace Name Mixin selector official a
Lcgv;a(J)V
intermediary method_11382
Lnet/minecraft/class_2633;method_11382(J)V
named setSeed
Lnet/minecraft/block/entity/StructureBlockBlockEntity;setSeed(J)V
-
detectStructureSize
public boolean detectStructureSize()- Mappings:
Namespace Name Mixin selector official z
Lcgv;z()Z
intermediary method_11383
Lnet/minecraft/class_2633;method_11383()Z
named detectStructureSize
Lnet/minecraft/block/entity/StructureBlockBlockEntity;detectStructureSize()Z
-
findCorners
private List<StructureBlockBlockEntity> findCorners(List<StructureBlockBlockEntity> structureBlockEntities)- Mappings:
Namespace Name Mixin selector official a
Lcgv;a(Ljava/util/List;)Ljava/util/List;
intermediary method_11364
Lnet/minecraft/class_2633;method_11364(Ljava/util/List;)Ljava/util/List;
named findCorners
Lnet/minecraft/block/entity/StructureBlockBlockEntity;findCorners(Ljava/util/List;)Ljava/util/List;
-
findStructureBlockEntities
- Mappings:
Namespace Name Mixin selector official a
Lcgv;a(Lfx;Lfx;)Ljava/util/List;
intermediary method_11369
Lnet/minecraft/class_2633;method_11369(Lnet/minecraft/class_2338;Lnet/minecraft/class_2338;)Ljava/util/List;
named findStructureBlockEntities
Lnet/minecraft/block/entity/StructureBlockBlockEntity;findStructureBlockEntities(Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;)Ljava/util/List;
-
makeBoundingBox
- Mappings:
Namespace Name Mixin selector official a
Lcgv;a(Lfx;Ljava/util/List;)Lcwn;
intermediary method_11355
Lnet/minecraft/class_2633;method_11355(Lnet/minecraft/class_2338;Ljava/util/List;)Lnet/minecraft/class_3341;
named makeBoundingBox
Lnet/minecraft/block/entity/StructureBlockBlockEntity;makeBoundingBox(Lnet/minecraft/util/math/BlockPos;Ljava/util/List;)Lnet/minecraft/util/math/BlockBox;
-
saveStructure
public boolean saveStructure()- Mappings:
Namespace Name Mixin selector official A
Lcgv;A()Z
intermediary method_11365
Lnet/minecraft/class_2633;method_11365()Z
named saveStructure
Lnet/minecraft/block/entity/StructureBlockBlockEntity;saveStructure()Z
-
saveStructure
public boolean saveStructure(boolean bool)- Mappings:
Namespace Name Mixin selector official b
Lcgv;b(Z)Z
intermediary method_11366
Lnet/minecraft/class_2633;method_11366(Z)Z
named saveStructure
Lnet/minecraft/block/entity/StructureBlockBlockEntity;saveStructure(Z)Z
-
loadStructure
- Mappings:
Namespace Name Mixin selector official a
Lcgv;a(Laav;)Z
intermediary method_11376
Lnet/minecraft/class_2633;method_11376(Lnet/minecraft/class_3218;)Z
named loadStructure
Lnet/minecraft/block/entity/StructureBlockBlockEntity;loadStructure(Lnet/minecraft/server/world/ServerWorld;)Z
-
createRandom
- Mappings:
Namespace Name Mixin selector official b
Lcgv;b(J)Ljava/util/Random;
intermediary method_20048
Lnet/minecraft/class_2633;method_20048(J)Ljava/util/Random;
named createRandom
Lnet/minecraft/block/entity/StructureBlockBlockEntity;createRandom(J)Ljava/util/Random;
-
loadStructure
- Mappings:
Namespace Name Mixin selector official a
Lcgv;a(Laav;Z)Z
intermediary method_11368
Lnet/minecraft/class_2633;method_11368(Lnet/minecraft/class_3218;Z)Z
named loadStructure
Lnet/minecraft/block/entity/StructureBlockBlockEntity;loadStructure(Lnet/minecraft/server/world/ServerWorld;Z)Z
-
place
- Mappings:
Namespace Name Mixin selector official a
Lcgv;a(Laav;ZLcyo;)Z
intermediary method_21864
Lnet/minecraft/class_2633;method_21864(Lnet/minecraft/class_3218;ZLnet/minecraft/class_3499;)Z
named place
Lnet/minecraft/block/entity/StructureBlockBlockEntity;place(Lnet/minecraft/server/world/ServerWorld;ZLnet/minecraft/structure/Structure;)Z
-
unloadStructure
public void unloadStructure()- Mappings:
Namespace Name Mixin selector official B
Lcgv;B()V
intermediary method_11361
Lnet/minecraft/class_2633;method_11361()V
named unloadStructure
Lnet/minecraft/block/entity/StructureBlockBlockEntity;unloadStructure()V
-
isStructureAvailable
public boolean isStructureAvailable()- Mappings:
Namespace Name Mixin selector official C
Lcgv;C()Z
intermediary method_11372
Lnet/minecraft/class_2633;method_11372()Z
named isStructureAvailable
Lnet/minecraft/block/entity/StructureBlockBlockEntity;isStructureAvailable()Z
-
isPowered
public boolean isPowered()- Mappings:
Namespace Name Mixin selector official D
Lcgv;D()Z
intermediary method_11354
Lnet/minecraft/class_2633;method_11354()Z
named isPowered
Lnet/minecraft/block/entity/StructureBlockBlockEntity;isPowered()Z
-
setPowered
public void setPowered(boolean powered)- Mappings:
Namespace Name Mixin selector official c
Lcgv;c(Z)V
intermediary method_11379
Lnet/minecraft/class_2633;method_11379(Z)V
named setPowered
Lnet/minecraft/block/entity/StructureBlockBlockEntity;setPowered(Z)V
-
shouldShowAir
- Mappings:
Namespace Name Mixin selector official E
Lcgv;E()Z
intermediary method_11375
Lnet/minecraft/class_2633;method_11375()Z
named shouldShowAir
Lnet/minecraft/block/entity/StructureBlockBlockEntity;shouldShowAir()Z
-
setShowAir
public void setShowAir(boolean showAir)- Mappings:
Namespace Name Mixin selector official d
Lcgv;d(Z)V
intermediary method_11347
Lnet/minecraft/class_2633;method_11347(Z)V
named setShowAir
Lnet/minecraft/block/entity/StructureBlockBlockEntity;setShowAir(Z)V
-
shouldShowBoundingBox
- Mappings:
Namespace Name Mixin selector official F
Lcgv;F()Z
intermediary method_11357
Lnet/minecraft/class_2633;method_11357()Z
named shouldShowBoundingBox
Lnet/minecraft/block/entity/StructureBlockBlockEntity;shouldShowBoundingBox()Z
-
setShowBoundingBox
public void setShowBoundingBox(boolean showBoundingBox)- Mappings:
Namespace Name Mixin selector official e
Lcgv;e(Z)V
intermediary method_11360
Lnet/minecraft/class_2633;method_11360(Z)V
named setShowBoundingBox
Lnet/minecraft/block/entity/StructureBlockBlockEntity;setShowBoundingBox(Z)V
-