net.minecraft.world.level.block.entity

public class StructureBlockEntity

extends BlockEntity

cnv
net.minecraft.world.level.block.entity.StructureBlockEntity
net.minecraft.class_2633
net.minecraft.unmapped.C_bfrzytnu
net.minecraft.block.entity.StructureBlockBlockEntity
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
f_eknqjnvy
field_31367
CORNER_BLOCKS_SCAN_RANGE
f_155777_
public static final int
a
MAX_OFFSET_PER_AXIS
field_31364
f_jhaicskj
field_31364
MAX_OFFSET_PER_AXIS
f_155774_
public static final int
b
MAX_SIZE_PER_AXIS
field_31365
f_zvfenthw
field_31365
MAX_SIZE_PER_AXIS
f_155775_
public static final String
c
AUTHOR_TAG
field_31366
f_vodixsbp
AUTHOR_KEY
AUTHOR_KEY
f_155776_
private ResourceLocation
e
structureName
field_12102
f_xmyxcbij
structureName
structureName
f_59812_
private String
f
author
field_12104
f_ydaxwbqd
author
author
f_59813_
private String
g
metaData
field_12098
f_rkqgkbzy
metadata
metadata
f_59814_
private BlockPos
h
structurePos
field_12092
f_rdocvtbc
offset
offset
f_59815_
private Vec3i
i
structureSize
field_12100
f_xhnreuwy
size
size
f_59816_
private Mirror
j
mirror
field_12093
f_nfzauhsk
mirror
mirror
f_59817_
private Rotation
k
rotation
field_12105
f_vmshqnyj
rotation
rotation
f_59818_
private StructureMode
l
mode
field_12094
f_ybwujkdg
mode
mode
f_59819_
private boolean
m
ignoreEntities
field_12099
f_jjhdjqus
ignoreEntities
ignoreEntities
f_59820_
private boolean
q
powered
field_12097
f_apvypbtb
powered
powered
f_59821_
private boolean
r
showAir
field_12096
f_fwyazwsi
showAir
showAir
f_59822_
private boolean
s
showBoundingBox
field_12095
f_evbnocyi
showBoundingBox
showBoundingBox
f_59823_
private float
t
integrity
field_12101
f_fdytftki
integrity
integrity
f_59824_
private long
u
seed
field_12103
f_rhdnvzap
seed
seed
f_59825_

Constructor summary

ModifierConstructor
public (BlockPos pos, BlockState state)

Method summary

Modifier and TypeMethod
protected void
b(ok arg0)
saveAdditional(CompoundTag arg0)
method_11007(class_2487 arg0)
m_qopnimsa(C_hhlwcnih arg0)
writeNbt(NbtCompound arg0)
writeNbt(NbtCompound arg0)
m_183515_(C_4917_ arg0)
public void
a(ok arg0)
load(CompoundTag arg0)
method_11014(class_2487 arg0)
m_dfzdncts(C_hhlwcnih arg0)
readNbt(NbtCompound arg0)
readNbt(NbtCompound arg0)
m_142466_(C_4917_ arg0)
private void
J()
updateBlockState()
method_11348()
m_ngzpofdm()
updateBlockMode()
updateBlockMode()
m_59836_()
public ClientboundBlockEntityDataPacket
c()
getUpdatePacket()
method_38252()
m_avdrmjdr()
toUpdatePacket()
toUpdatePacket()
m_183216_()
public CompoundTag
aa_()
getUpdateTag()
method_16887()
m_escrnqip()
toInitialChunkDataNbt()
toInitialChunkDataNbt()
m_5995_()
public boolean
a(boj arg0)
usedBy(Player arg0)
method_11351(class_1657 arg0)
m_jmczzgkn(C_jzrpycqo arg0)
openScreen(PlayerEntity player)
openScreen(PlayerEntity player)
m_59853_(C_1141_ arg0)
public String
d()
getStructureName()
method_11362()
m_wzlebdtb()
getStructureName()
getStructureName()
m_59895_()
public String
f()
getStructurePath()
method_21865()
m_jtdmuzvn()
getStructurePath()
getStructurePath()
m_59900_()
public boolean
g()
hasStructureName()
method_11384()
m_dbpggljc()
hasStructureName()
hasStructureName()
m_59901_()
public void
a(String arg0)
setStructureName(String arg0)
method_11343(String arg0)
m_qhenpmns(String arg0)
setStructureName(String name)
setStructureName(String name)
m_59868_(String arg0)
public void
a(yt arg0)
setStructureName(ResourceLocation arg0)
method_11344(class_2960 arg0)
m_hjranrcg(C_ncpywfca arg0)
setStructureName(Identifier structureName)
setStructureName(Identifier structureName)
m_59874_(C_5265_ arg0)
public void
a(axy arg0)
createdBy(LivingEntity arg0)
method_11373(class_1309 arg0)
m_illftgys(C_usxaxydn arg0)
setAuthor(LivingEntity entity)
setAuthor(LivingEntity entity)
m_59851_(C_524_ arg0)
public BlockPos
i()
getStructurePos()
method_11359()
m_xxfqvapl()
getOffset()
getOffset()
m_59902_()
public void
a(gj arg0)
setStructurePos(BlockPos arg0)
method_11378(class_2338 arg0)
m_fjvuynie(C_hynzadkk arg0)
setOffset(BlockPos offset)
setOffset(BlockPos pos)
m_59885_(C_4675_ arg0)
public Vec3i
j()
getStructureSize()
method_11349()
m_ocgsmzzf()
getSize()
getSize()
m_155805_()
public void
a(hh arg0)
setStructureSize(Vec3i arg0)
method_11377(class_2382 arg0)
m_prbspeft(C_ceivtqhh arg0)
setSize(Vec3i size)
setSize(Vec3i size)
m_155797_(C_4713_ arg0)
public Mirror
v()
getMirror()
method_11345()
m_yysglcxw()
getMirror()
getMirror()
m_59905_()
public void
a(chz arg0)
setMirror(Mirror arg0)
method_11356(class_2415 arg0)
m_hfitatyn(C_qomzaqud arg0)
setMirror(BlockMirror mirror)
setMirror(BlockMirror mirror)
m_59881_(C_1838_ arg0)
public Rotation
w()
getRotation()
method_11353()
m_zxlicosi()
getRotation()
getRotation()
m_59906_()
public void
a(cjm arg0)
setRotation(Rotation arg0)
method_11385(class_2470 arg0)
m_wwirbwyk(C_mboglirk arg0)
setRotation(BlockRotation rotation)
setRotation(BlockRotation rotation)
m_59883_(C_1886_ arg0)
public String
x()
getMetaData()
method_11358()
m_wsnnlkmi()
getMetadata()
getMetadata()
m_59907_()
public void
b(String arg0)
setMetaData(String arg0)
method_11363(String arg0)
m_pjifsfcm(String arg0)
setMetadata(String metadata)
setMetadata(String metadata)
m_59887_(String arg0)
public StructureMode
y()
getMode()
method_11374()
m_jltgepwo()
getMode()
getMode()
m_59908_()
public void
a(cqe arg0)
setMode(StructureMode arg0)
method_11381(class_2776 arg0)
m_keoihciw(C_uihldlpc arg0)
setMode(StructureBlockMode mode)
setMode(StructureBlockMode mode)
m_59860_(C_2104_ arg0)
public boolean
z()
isIgnoreEntities()
method_11367()
m_uayhwtgg()
shouldIgnoreEntities()
shouldIgnoreEntities()
m_59910_()
public void
a(boolean arg0)
setIgnoreEntities(boolean arg0)
method_11352(boolean arg0)
m_lzwiocld(boolean arg0)
setIgnoreEntities(boolean ignoreEntities)
setIgnoreEntities(boolean ignoreEntities)
m_59876_(boolean arg0)
public float
A()
getIntegrity()
method_11346()
m_lebdsien()
getIntegrity()
getIntegrity()
m_59827_()
public void
a(float arg0)
setIntegrity(float arg0)
method_11370(float arg0)
m_zzzvvoxt(float arg0)
setIntegrity(float integrity)
setIntegrity(float integrity)
m_59838_(float arg0)
public long
B()
getSeed()
method_11371()
m_stspsmas()
getSeed()
getSeed()
m_59828_()
public void
a(long arg0)
setSeed(long arg0)
method_11382(long arg0)
m_rqdgfnfj(long arg0)
setSeed(long seed)
setSeed(long seed)
m_59840_(long arg0)
public boolean
C()
detectSize()
method_11383()
m_hoopcziq()
detectStructureSize()
detectStructureSize()
m_59829_()
private Stream<BlockPos>
a(gj arg0, gj arg1)
getRelatedCorners(BlockPos arg0, BlockPos arg1)
method_34276(class_2338 arg0, class_2338 arg1)
m_ymnpeisu(C_hynzadkk arg0, C_hynzadkk arg1)
streamCornerPos(BlockPos start, BlockPos end)
streamCornerPos(BlockPos start, BlockPos end)
m_155791_(C_4675_ p_155793_, C_4675_ arg1)
private static Optional<BoundingBox>
a(gj arg0, Stream<gj> arg1)
calculateEnclosingBoundingBox(BlockPos arg0, Stream<BlockPos> arg1)
method_34277(class_2338 arg0, Stream<class_2338> arg1)
m_huvgaclh(C_hynzadkk arg0, Stream<C_hynzadkk> arg1)
getStructureBox(BlockPos pos, Stream<BlockPos> corners)
getStructureBox(BlockPos pos, Stream<BlockPos> corners)
m_155794_(C_4675_ p_155795_, Stream<C_4675_> p_155796_)
public boolean
D()
saveStructure()
method_11365()
m_aungqrkm()
saveStructure()
saveStructure()
m_59830_()
public boolean
b(boolean arg0)
saveStructure(boolean arg0)
method_11366(boolean arg0)
m_mjmqymso(boolean arg0)
saveStructure(boolean arg0)
saveStructure(boolean arg0)
m_59889_(boolean arg0)
public boolean
a(adw arg0)
loadStructure(ServerLevel arg0)
method_11376(class_3218 arg0)
m_zjuwopzo(C_bdwnwhiu arg0)
loadStructure(ServerWorld world)
loadStructure(ServerWorld world)
m_59842_(C_12_ arg0)
private static Random
b(long arg0)
createRandom(long arg0)
method_20048(long arg0)
m_rbjgqwhc(long arg0)
createRandom(long seed)
createRandom(long seed)
m_59879_(long p_59880_)
public boolean
a(adw arg0, boolean arg1)
loadStructure(ServerLevel arg0, boolean arg1)
method_11368(class_3218 arg0, boolean arg1)
m_zecrtggw(C_bdwnwhiu arg0, boolean arg1)
loadStructure(ServerWorld world, boolean arg1)
loadStructure(ServerWorld world, boolean arg1)
m_59844_(C_12_ p_59846_, boolean arg1)
public boolean
a(adw arg0, boolean arg1, dhw arg2)
loadStructure(ServerLevel arg0, boolean arg1, StructureTemplate arg2)
method_21864(class_3218 arg0, boolean arg1, class_3499 arg2)
m_fkacmxuv(C_bdwnwhiu arg0, boolean arg1, C_abvlwuej arg2)
place(ServerWorld world, boolean arg1, Structure structure)
place(ServerWorld world, boolean arg1, Structure structure)
m_59847_(C_12_ p_59849_, boolean p_59850_, C_2634_ arg2)
public void
E()
unloadStructure()
method_11361()
m_zjifcxyj()
unloadStructure()
unloadStructure()
m_59831_()
public boolean
F()
isStructureLoadable()
method_11372()
m_esxdpotw()
isStructureAvailable()
isStructureAvailable()
m_59832_()
public boolean
G()
isPowered()
method_11354()
m_eayxohne()
isPowered()
isPowered()
m_59833_()
public void
c(boolean arg0)
setPowered(boolean arg0)
method_11379(boolean arg0)
m_stuyyfzs(boolean arg0)
setPowered(boolean powered)
setPowered(boolean powered)
m_59893_(boolean arg0)
public boolean
H()
getShowAir()
method_11375()
m_tnlrfepu()
shouldShowAir()
shouldShowAir()
m_59834_()
public void
d(boolean arg0)
setShowAir(boolean arg0)
method_11347(boolean arg0)
m_saaqyxxe(boolean arg0)
setShowAir(boolean showAir)
setShowAir(boolean showAir)
m_59896_(boolean arg0)
public boolean
I()
getShowBoundingBox()
method_11357()
m_ohdbwume()
shouldShowBoundingBox()
shouldShowBoundingBox()
m_59835_()
public void
e(boolean arg0)
setShowBoundingBox(boolean arg0)
method_11360(boolean arg0)
m_mgveadpg(boolean arg0)
setShowBoundingBox(boolean showBoundingBox)
setShowBoundingBox(boolean showBoundingBox)
m_59898_(boolean arg0)