net.minecraft.world.level.block.entity

public class StructureBlockEntity

extends BlockEntity

ctr
net.minecraft.world.level.block.entity.StructureBlockEntity
net.minecraft.class_2633
net.minecraft.block.entity.StructureBlockBlockEntity
net.minecraft.src.C_2029_
net.minecraft.world.level.block.entity.TileEntityStructure

Field summary

Modifier and TypeField
private static final int
d
SCAN_CORNER_BLOCKS_RANGE
field_31367
field_31367
f_155777_
public static final int
a
MAX_OFFSET_PER_AXIS
field_31364
field_31364
f_155774_
public static final int
b
MAX_SIZE_PER_AXIS
field_31365
field_31365
f_155775_
public static final String
c
AUTHOR_TAG
field_31366
AUTHOR_KEY
f_155776_
private ResourceLocation
e
structureName
field_12102
templateName
f_59812_
private String
f
author
field_12104
author
f_59813_
private String
g
metaData
field_12098
metadata
f_59814_
private BlockPos
h
structurePos
field_12092
offset
f_59815_
private Vec3i
i
structureSize
field_12100
size
f_59816_
private Mirror
j
mirror
field_12093
mirror
f_59817_
private Rotation
k
rotation
field_12105
rotation
f_59818_
private StructureMode
l
mode
field_12094
mode
f_59819_
private boolean
m
ignoreEntities
field_12099
ignoreEntities
f_59820_
private boolean
q
powered
field_12097
powered
f_59821_
private boolean
r
showAir
field_12096
showAir
f_59822_
private boolean
s
showBoundingBox
field_12095
showBoundingBox
f_59823_
private float
t
integrity
field_12101
integrity
f_59824_
private long
u
seed
field_12103
seed
f_59825_

Constructor summary

ModifierConstructor
public (BlockPos pos, BlockState state)

Method summary

Modifier and TypeMethod
protected void
b(pj arg0)
saveAdditional(CompoundTag arg0)
method_11007(class_2487 arg0)
writeNbt(NbtCompound arg0)
m_183515_(C_4917_ arg0)
public void
a(pj arg0)
load(CompoundTag arg0)
method_11014(class_2487 arg0)
readNbt(NbtCompound arg0)
m_142466_(C_4917_ arg0)
private void
J()
updateBlockState()
method_11348()
updateBlockMode()
m_59836_()
public ClientboundBlockEntityDataPacket
c()
getUpdatePacket()
method_38252()
toUpdatePacket()
m_58483_()
public CompoundTag
ab_()
getUpdateTag()
method_16887()
toInitialChunkDataNbt()
m_5995_()
public boolean
a(btf arg0)
usedBy(Player arg0)
method_11351(class_1657 arg0)
openScreen(PlayerEntity player)
m_59853_(C_1141_ arg0)
public String
d()
getStructureName()
method_11362()
getTemplateName()
m_59895_()
public String
f()
getStructurePath()
method_21865()
getStructurePath()
m_59900_()
public boolean
g()
hasStructureName()
method_11384()
hasStructureName()
m_59901_()
public void
a(String arg0)
setStructureName(String arg0)
method_11343(String arg0)
setTemplateName(String templateName)
m_59868_(String arg0)
public void
a(aaj arg0)
setStructureName(ResourceLocation arg0)
method_11344(class_2960 arg0)
setTemplateName(Identifier templateName)
m_59874_(C_5265_ arg0)
public void
a(bbf arg0)
createdBy(LivingEntity arg0)
method_11373(class_1309 arg0)
setAuthor(LivingEntity entity)
m_59851_(C_524_ arg0)
public BlockPos
i()
getStructurePos()
method_11359()
getOffset()
m_59902_()
public void
a(gt arg0)
setStructurePos(BlockPos arg0)
method_11378(class_2338 arg0)
setOffset(BlockPos offset)
m_59885_(C_4675_ arg0)
public Vec3i
j()
getStructureSize()
method_11349()
getSize()
m_155805_()
public void
a(hs arg0)
setStructureSize(Vec3i arg0)
method_11377(class_2382 arg0)
setSize(Vec3i size)
m_155797_(C_4713_ arg0)
public Mirror
t()
getMirror()
method_11345()
getMirror()
m_59905_()
public void
a(cnk arg0)
setMirror(Mirror arg0)
method_11356(class_2415 arg0)
setMirror(BlockMirror mirror)
m_59881_(C_1838_ arg0)
public Rotation
w()
getRotation()
method_11353()
getRotation()
m_59906_()
public void
a(coz arg0)
setRotation(Rotation arg0)
method_11385(class_2470 arg0)
setRotation(BlockRotation rotation)
m_59883_(C_1886_ arg0)
public String
x()
getMetaData()
method_11358()
getMetadata()
m_59907_()
public void
b(String arg0)
setMetaData(String arg0)
method_11363(String arg0)
setMetadata(String metadata)
m_59887_(String arg0)
public StructureMode
y()
getMode()
method_11374()
getMode()
m_59908_()
public void
a(cwa arg0)
setMode(StructureMode arg0)
method_11381(class_2776 arg0)
setMode(StructureBlockMode mode)
m_59860_(C_2104_ arg0)
public boolean
z()
isIgnoreEntities()
method_11367()
shouldIgnoreEntities()
m_59910_()
public void
a(boolean arg0)
setIgnoreEntities(boolean arg0)
method_11352(boolean arg0)
setIgnoreEntities(boolean ignoreEntities)
m_59876_(boolean arg0)
public float
A()
getIntegrity()
method_11346()
getIntegrity()
m_59827_()
public void
a(float arg0)
setIntegrity(float arg0)
method_11370(float arg0)
setIntegrity(float integrity)
m_59838_(float arg0)
public long
B()
getSeed()
method_11371()
getSeed()
m_59828_()
public void
a(long arg0)
setSeed(long arg0)
method_11382(long arg0)
setSeed(long seed)
m_59840_(long arg0)
public boolean
C()
detectSize()
method_11383()
detectStructureSize()
m_59829_()
private Stream<BlockPos>
a(gt arg0, gt arg1)
getRelatedCorners(BlockPos arg0, BlockPos arg1)
method_34276(class_2338 arg0, class_2338 arg1)
streamCornerPos(BlockPos start, BlockPos end)
m_155791_(C_4675_ p_155793_, C_4675_ arg1)
private static Optional<BoundingBox>
a(gt arg0, Stream<gt> arg1)
calculateEnclosingBoundingBox(BlockPos arg0, Stream<BlockPos> arg1)
method_34277(class_2338 arg0, Stream<class_2338> arg1)
getStructureBox(BlockPos pos, Stream<BlockPos> corners)
m_155794_(C_4675_ p_155795_, Stream<C_4675_> p_155796_)
public boolean
D()
saveStructure()
method_11365()
saveStructure()
m_59830_()
public boolean
b(boolean arg0)
saveStructure(boolean arg0)
method_11366(boolean arg0)
saveStructure(boolean arg0)
m_59889_(boolean arg0)
public boolean
a(afo arg0)
loadStructure(ServerLevel arg0)
method_11376(class_3218 arg0)
loadStructure(ServerWorld world)
m_59842_(C_12_ arg0)
public static RandomSource
b(long arg0)
createRandom(long arg0)
method_20048(long arg0)
createRandom(long seed)
m_222888_(long p_222889_)
public boolean
a(afo arg0, boolean arg1)
loadStructure(ServerLevel arg0, boolean arg1)
method_11368(class_3218 arg0, boolean arg1)
loadStructure(ServerWorld world, boolean arg1)
m_59844_(C_12_ p_59846_, boolean arg1)
public boolean
a(afo arg0, boolean arg1, dnw arg2)
loadStructure(ServerLevel arg0, boolean arg1, StructureTemplate arg2)
method_21864(class_3218 arg0, boolean arg1, class_3499 arg2)
place(ServerWorld world, boolean arg1, StructureTemplate template)
m_59847_(C_12_ p_59849_, boolean p_59850_, C_2634_ arg2)
public void
E()
unloadStructure()
method_11361()
unloadStructure()
m_59831_()
public boolean
F()
isStructureLoadable()
method_11372()
isStructureAvailable()
m_59832_()
public boolean
G()
isPowered()
method_11354()
isPowered()
m_59833_()
public void
c(boolean arg0)
setPowered(boolean arg0)
method_11379(boolean arg0)
setPowered(boolean powered)
m_59893_(boolean arg0)
public boolean
H()
getShowAir()
method_11375()
shouldShowAir()
m_59834_()
public void
d(boolean arg0)
setShowAir(boolean arg0)
method_11347(boolean arg0)
setShowAir(boolean showAir)
m_59896_(boolean arg0)
public boolean
I()
getShowBoundingBox()
method_11357()
shouldShowBoundingBox()
m_59835_()
public void
e(boolean arg0)
setShowBoundingBox(boolean arg0)
method_11360(boolean arg0)
setShowBoundingBox(boolean showBoundingBox)
m_59898_(boolean arg0)