net.minecraft.world.level.block.entity

public class StructureBlockEntity

extends BlockEntity implements BoundingBoxRenderable

All mapped superinterfaces:

BoundingBoxRenderable

dyy
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

Field summary

Modifier and TypeField
private static final int
d
SCAN_CORNER_BLOCKS_RANGE
field_31367
f_eknqjnvy
field_31367
CORNER_BLOCKS_SCAN_RANGE
public static final int
a
MAX_OFFSET_PER_AXIS
field_31364
f_jhaicskj
field_31364
MAX_OFFSET_PER_AXIS
public static final int
b
MAX_SIZE_PER_AXIS
field_31365
f_zvfenthw
field_31365
MAX_SIZE_PER_AXIS
public static final String
c
AUTHOR_TAG
field_31366
f_vodixsbp
AUTHOR_KEY
AUTHOR_KEY
private ResourceLocation
e
structureName
field_12102
f_xmyxcbij
templateName
structureName
private String
f
author
field_12104
f_ydaxwbqd
author
author
private String
g
metaData
field_12098
f_rkqgkbzy
metadata
metadata
private BlockPos
h
structurePos
field_12092
f_rdocvtbc
offset
offset
private Vec3i
i
structureSize
field_12100
f_xhnreuwy
size
size
private Mirror
j
mirror
field_12093
f_nfzauhsk
mirror
mirror
private Rotation
k
rotation
field_12105
f_vmshqnyj
rotation
rotation
private StructureMode
l
mode
field_12094
f_ybwujkdg
mode
mode
private boolean
m
ignoreEntities
field_12099
f_jjhdjqus
ignoreEntities
ignoreEntities
private boolean
q
strict
field_55823
f_iuqnbokt
strict
private boolean
r
powered
field_12097
f_apvypbtb
powered
powered
private boolean
s
showAir
field_12096
f_fwyazwsi
showAir
showAir
private boolean
t
showBoundingBox
field_12095
f_evbnocyi
showBoundingBox
showBoundingBox
private float
u
integrity
field_12101
f_fdytftki
integrity
integrity
private long
v
seed
field_12103
f_rhdnvzap
seed
seed

Constructor summary

ModifierConstructor
public (BlockPos pos, BlockState state)

Method summary

Modifier and TypeMethod
protected void
b(tz arg0, jg$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)
protected void
a(tz arg0, jg$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)
readNbtImpl(NbtCompound arg0, HolderLookup$Provider arg1)
private void
H()
updateBlockState()
method_11348()
m_ngzpofdm()
updateBlockMode()
updateBlockMode()
public ClientboundBlockEntityDataPacket
a()
getUpdatePacket()
method_38252()
m_avdrmjdr()
toUpdatePacket()
toUpdatePacket()
public CompoundTag
a(jg$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)
public boolean
a(crc arg0)
usedBy(Player arg0)
method_11351(class_1657 arg0)
m_jmczzgkn(C_jzrpycqo arg0)
openScreen(PlayerEntity player)
openScreen(PlayerEntity player)
public String
d()
getStructureName()
method_11362()
m_wzlebdtb()
getTemplateName()
getStructureName()
public boolean
f()
hasStructureName()
method_11384()
m_dbpggljc()
hasStructureName()
hasStructureName()
public void
a(String arg0)
setStructureName(String arg0)
method_11343(String arg0)
m_qhenpmns(String arg0)
setTemplateName(String templateName)
setStructureName(String name)
public void
a(alg arg0)
setStructureName(ResourceLocation arg0)
method_11344(class_2960 arg0)
m_hjranrcg(C_ncpywfca arg0)
setTemplateName(Identifier templateName)
setStructureName(Identifier structureName)
public void
a(bxe arg0)
createdBy(LivingEntity arg0)
method_11373(class_1309 arg0)
m_illftgys(C_usxaxydn arg0)
setAuthor(LivingEntity entity)
setAuthor(LivingEntity entity)
public BlockPos
j()
getStructurePos()
method_11359()
m_xxfqvapl()
getOffset()
getOffset()
public void
a(iu arg0)
setStructurePos(BlockPos arg0)
method_11378(class_2338 arg0)
m_fjvuynie(C_hynzadkk arg0)
setOffset(BlockPos offset)
setOffset(BlockPos pos)
public Vec3i
k()
getStructureSize()
method_11349()
m_ocgsmzzf()
getSize()
getSize()
public void
a(jz arg0)
setStructureSize(Vec3i arg0)
method_11377(class_2382 arg0)
m_prbspeft(C_ceivtqhh arg0)
setSize(Vec3i size)
setSize(Vec3i size)
public Mirror
s()
getMirror()
method_11345()
m_yysglcxw()
getMirror()
getMirror()
public void
a(dri arg0)
setMirror(Mirror arg0)
method_11356(class_2415 arg0)
m_hfitatyn(C_qomzaqud arg0)
setMirror(BlockMirror mirror)
setMirror(BlockMirror mirror)
public Rotation
t()
getRotation()
method_11353()
m_zxlicosi()
getRotation()
getRotation()
public void
a(dsz arg0)
setRotation(Rotation arg0)
method_11385(class_2470 arg0)
m_wwirbwyk(C_mboglirk arg0)
setRotation(BlockRotation rotation)
setRotation(BlockRotation rotation)
public String
u()
getMetaData()
method_11358()
m_wsnnlkmi()
getMetadata()
getMetadata()
public void
b(String arg0)
setMetaData(String arg0)
method_11363(String arg0)
m_pjifsfcm(String arg0)
setMetadata(String metadata)
setMetadata(String metadata)
public StructureMode
v()
getMode()
method_11374()
m_jltgepwo()
getMode()
getMode()
public void
a(ebr arg0)
setMode(StructureMode arg0)
method_11381(class_2776 arg0)
m_keoihciw(C_uihldlpc arg0)
setMode(StructureBlockMode mode)
setMode(StructureBlockMode mode)
public boolean
w()
isIgnoreEntities()
method_11367()
m_uayhwtgg()
shouldIgnoreEntities()
shouldIgnoreEntities()
public boolean
x()
isStrict()
method_66477()
m_cbladcsc()
isStrict()
public void
a(boolean arg0)
setIgnoreEntities(boolean arg0)
method_11352(boolean arg0)
m_lzwiocld(boolean arg0)
setIgnoreEntities(boolean ignoreEntities)
setIgnoreEntities(boolean ignoreEntities)
public void
b(boolean arg0)
setStrict(boolean arg0)
method_66476(boolean arg0)
m_tibmoltu(boolean arg0)
setStrict(boolean arg0)
public float
y()
getIntegrity()
method_11346()
m_lebdsien()
getIntegrity()
getIntegrity()
public void
a(float arg0)
setIntegrity(float arg0)
method_11370(float arg0)
m_zzzvvoxt(float arg0)
setIntegrity(float integrity)
setIntegrity(float integrity)
public long
z()
getSeed()
method_11371()
m_stspsmas()
getSeed()
getSeed()
public void
a(long arg0)
setSeed(long arg0)
method_11382(long arg0)
m_rqdgfnfj(long arg0)
setSeed(long seed)
setSeed(long seed)
public boolean
A()
detectSize()
method_11383()
m_hoopcziq()
detectStructureSize()
detectStructureSize()
private Stream<BlockPos>
a(iu arg0, iu 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)
private static Optional<BoundingBox>
a(iu arg0, Stream<iu> 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)
public boolean
B()
saveStructure()
method_11365()
m_aungqrkm()
saveStructure()
saveStructure()
public boolean
c(boolean arg0)
saveStructure(boolean arg0)
method_11366(boolean arg0)
m_mjmqymso(boolean arg0)
saveStructure(boolean toDisk)
saveStructure(boolean saveToTemplateManager)
public static boolean
a(arq arg0, alg arg1, iu arg2, jz arg3, boolean arg4, String arg5, boolean arg6)
saveStructure(ServerLevel arg0, ResourceLocation arg1, BlockPos arg2, Vec3i arg3, boolean arg4, String arg5, boolean arg6)
method_66717(class_3218 arg0, class_2960 arg1, class_2338 arg2, class_2382 arg3, boolean arg4, String arg5, boolean arg6)
m_emtcvuvg(C_bdwnwhiu arg0, C_ncpywfca arg1, C_hynzadkk arg2, C_ceivtqhh arg3, boolean arg4, String arg5, boolean arg6)
saveStructure(ServerWorld world, Identifier templateId, BlockPos start, Vec3i size, boolean ignoreEntities, String author, boolean toDisk)
m_emtcvuvg(ServerWorld world, Identifier id, BlockPos pos, Vec3i arg3, boolean arg4, String arg5, boolean arg6)
public static RandomSource
b(long arg0)
createRandom(long arg0)
method_20048(long arg0)
m_rbjgqwhc(long arg0)
createRandom(long seed)
createRandom(long seed)
public boolean
a(arq arg0)
placeStructureIfSameSize(ServerLevel arg0)
method_54874(class_3218 arg0)
m_hbdxapdz(C_bdwnwhiu arg0)
loadAndTryPlaceStructure(ServerWorld world)
placeStructureIfSameSize(ServerWorld world)
public boolean
b(arq arg0)
loadStructureInfo(ServerLevel arg0)
method_11376(class_3218 arg0)
m_cmapwvsu(C_bdwnwhiu arg0)
loadStructure(ServerWorld world)
loadStructure(ServerWorld world)
private void
a(evd arg0)
loadStructureInfo(StructureTemplate arg0)
method_54877(class_3499 arg0)
m_afqpipqw(C_abvlwuej arg0)
loadStructure(StructureTemplate template)
loadStructure(Structure structure)
public void
c(arq arg0)
placeStructure(ServerLevel arg0)
method_54878(class_3218 arg0)
m_itzkwjkc(C_bdwnwhiu arg0)
loadAndPlaceStructure(ServerWorld world)
placeStructure(ServerWorld world)
private StructureTemplate
d(arq arg0)
getStructureTemplate(ServerLevel arg0)
method_54879(class_3218 arg0)
m_jnvmayat(C_bdwnwhiu arg0)
getStructureTemplate(ServerWorld world)
getStructure(ServerWorld world)
private void
a(arq arg0, evd 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)
public void
C()
unloadStructure()
method_11361()
m_zjifcxyj()
unloadStructure()
unloadStructure()
public boolean
D()
isStructureLoadable()
method_11372()
m_esxdpotw()
isStructureAvailable()
isStructureAvailable()
public boolean
E()
isPowered()
method_11354()
m_eayxohne()
isPowered()
isPowered()
public void
d(boolean arg0)
setPowered(boolean arg0)
method_11379(boolean arg0)
m_stuyyfzs(boolean arg0)
setPowered(boolean powered)
setPowered(boolean powered)
public boolean
F()
getShowAir()
method_11375()
m_tnlrfepu()
shouldShowAir()
shouldShowAir()
public void
e(boolean arg0)
setShowAir(boolean arg0)
method_11347(boolean arg0)
m_saaqyxxe(boolean arg0)
setShowAir(boolean showAir)
setShowAir(boolean showAir)
public boolean
G()
getShowBoundingBox()
method_11357()
m_ohdbwume()
shouldShowBoundingBox()
shouldShowBoundingBox()
public void
f(boolean arg0)
setShowBoundingBox(boolean arg0)
method_11360(boolean arg0)
m_mgveadpg(boolean arg0)
setShowBoundingBox(boolean showBoundingBox)
setShowBoundingBox(boolean showBoundingBox)
public BoundingBoxRenderable$Mode
b()
renderMode()
method_66713()
m_aihzovhc()
getRenderMode()
public BoundingBoxRenderable$RenderableBox
c()
getRenderableBox()
method_66714()
m_jruojitt()
getStructureBox()