net.minecraft.world.level.block.entity

public class StructureBlockEntity

extends BlockEntity

dqy
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
templateName
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(us arg0, jk$a arg1)
saveAdditional(CompoundTag arg0, HolderLookup$Provider arg1)
method_11007(class_2487 arg0, class_7225$class_7874 arg1)
m_qopnimsa(C_hhlwcnih arg0, C_vtbxyypo$C_etmlgbig arg1)
writeNbt(NbtCompound arg0, RegistryWrapper$WrapperLookup arg1)
writeNbt(NbtCompound arg0, HolderLookup$Provider arg1)
m_183515_(C_4917_ p_331199_, C_213466_$C_254607_ arg1)
protected void
a(us arg0, jk$a arg1)
loadAdditional(CompoundTag arg0, HolderLookup$Provider arg1)
method_11014(class_2487 arg0, class_7225$class_7874 arg1)
m_trzmaydr(C_hhlwcnih arg0, C_vtbxyypo$C_etmlgbig arg1)
readNbt(NbtCompound arg0, RegistryWrapper$WrapperLookup arg1)
m_trzmaydr(NbtCompound arg0, HolderLookup$Provider arg1)
m_318667_(C_4917_ p_334283_, C_213466_$C_254607_ arg1)
private void
G()
updateBlockState()
method_11348()
m_ngzpofdm()
updateBlockMode()
updateBlockMode()
m_59836_()
public ClientboundBlockEntityDataPacket
b()
getUpdatePacket()
method_38252()
m_avdrmjdr()
toUpdatePacket()
toUpdatePacket()
m_58483_()
public CompoundTag
a(jk$a arg0)
getUpdateTag(HolderLookup$Provider arg0)
method_16887(class_7225$class_7874 arg0)
m_escrnqip(C_vtbxyypo$C_etmlgbig arg0)
toInitialChunkDataNbt(RegistryWrapper$WrapperLookup arg0)
toSyncedNbt(HolderLookup$Provider arg0)
m_5995_(C_213466_$C_254607_ arg0)
public boolean
a(cmz 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
c()
getStructureName()
method_11362()
m_wzlebdtb()
getTemplateName()
getStructureName()
m_59895_()
public boolean
d()
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)
setTemplateName(String templateName)
setStructureName(String name)
m_59868_(String arg0)
public void
a(alf arg0)
setStructureName(ResourceLocation arg0)
method_11344(class_2960 arg0)
m_hjranrcg(C_ncpywfca arg0)
setTemplateName(Identifier templateName)
setStructureName(Identifier structureName)
m_59874_(C_5265_ arg0)
public void
a(btr 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
f()
getStructurePos()
method_11359()
m_xxfqvapl()
getOffset()
getOffset()
m_59902_()
public void
a(iz 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(kd 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
k()
getMirror()
method_11345()
m_yysglcxw()
getMirror()
getMirror()
m_59905_()
public void
a(djy 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
l()
getRotation()
method_11353()
m_zxlicosi()
getRotation()
getRotation()
m_59906_()
public void
a(dlo 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
u()
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
v()
getMode()
method_11374()
m_jltgepwo()
getMode()
getMode()
m_59908_()
public void
a(dto 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
w()
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
x()
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
y()
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
z()
detectSize()
method_11383()
m_hoopcziq()
detectStructureSize()
detectStructureSize()
m_59829_()
private Stream<BlockPos>
a(iz arg0, iz 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(iz arg0, Stream<iz> 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
A()
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 interactive)
saveStructure(boolean saveToTemplateManager)
m_59889_(boolean arg0)
public static RandomSource
b(long arg0)
createRandom(long arg0)
method_20048(long arg0)
m_rbjgqwhc(long arg0)
createRandom(long seed)
createRandom(long seed)
m_222888_(long p_222889_)
public boolean
a(arf arg0)
placeStructureIfSameSize(ServerLevel arg0)
method_54874(class_3218 arg0)
m_hbdxapdz(C_bdwnwhiu arg0)
loadAndTryPlaceStructure(ServerWorld world)
placeStructureIfSameSize(ServerWorld world)
m_306422_(C_12_ arg0)
public boolean
b(arf arg0)
loadStructureInfo(ServerLevel arg0)
method_11376(class_3218 arg0)
m_cmapwvsu(C_bdwnwhiu arg0)
loadStructure(ServerWorld world)
loadStructure(ServerWorld world)
m_305135_(C_12_ arg0)
private void
a(emm arg0)
loadStructureInfo(StructureTemplate arg0)
method_54877(class_3499 arg0)
m_afqpipqw(C_abvlwuej arg0)
loadStructure(StructureTemplate template)
loadStructure(Structure structure)
m_305456_(C_2634_ arg0)
public void
c(arf arg0)
placeStructure(ServerLevel arg0)
method_54878(class_3218 arg0)
m_itzkwjkc(C_bdwnwhiu arg0)
loadAndPlaceStructure(ServerWorld world)
placeStructure(ServerWorld world)
m_305508_(C_12_ arg0)
private StructureTemplate
d(arf arg0)
getStructureTemplate(ServerLevel arg0)
method_54879(class_3218 arg0)
m_jnvmayat(C_bdwnwhiu arg0)
getStructureTemplate(ServerWorld world)
getStructure(ServerWorld world)
m_305438_(C_12_ arg0)
private void
a(arf arg0, emm arg1)
placeStructure(ServerLevel arg0, StructureTemplate arg1)
method_54875(class_3218 arg0, class_3499 arg1)
m_zbbninaa(C_bdwnwhiu arg0, C_abvlwuej arg1)
loadAndPlaceStructure(ServerWorld world, StructureTemplate template)
placeStructure(ServerWorld world, Structure structure)
m_306620_(C_12_ p_312324_, C_2634_ arg1)
public void
B()
unloadStructure()
method_11361()
m_zjifcxyj()
unloadStructure()
unloadStructure()
m_59831_()
public boolean
C()
isStructureLoadable()
method_11372()
m_esxdpotw()
isStructureAvailable()
isStructureAvailable()
m_59832_()
public boolean
D()
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
E()
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
F()
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)