net.minecraft.world.level.block.entity

public class StructureBlockEntity

extends BlockEntity

dwp
net.minecraft.world.level.block.entity.StructureBlockEntity
net.minecraft.class_2633
net.minecraft.block.entity.StructureBlockBlockEntity
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
public static final int
a
MAX_OFFSET_PER_AXIS
field_31364
field_31364
public static final int
b
MAX_SIZE_PER_AXIS
field_31365
field_31365
public static final String
c
AUTHOR_TAG
field_31366
AUTHOR_KEY
private ResourceLocation
e
structureName
field_12102
templateName
private String
f
author
field_12104
author
private String
g
metaData
field_12098
metadata
private BlockPos
h
structurePos
field_12092
offset
private Vec3i
i
structureSize
field_12100
size
private Mirror
j
mirror
field_12093
mirror
private Rotation
k
rotation
field_12105
rotation
private StructureMode
l
mode
field_12094
mode
private boolean
m
ignoreEntities
field_12099
ignoreEntities
private boolean
n
powered
field_12097
powered
private boolean
r
showAir
field_12096
showAir
private boolean
s
showBoundingBox
field_12095
showBoundingBox
private float
t
integrity
field_12101
integrity
private long
u
seed
field_12103
seed

Constructor summary

ModifierConstructor
public (BlockPos pos, BlockState state)

Method summary

Modifier and TypeMethod
protected void
b(ux arg0, js$a arg1)
saveAdditional(CompoundTag arg0, HolderLookup$Provider arg1)
method_11007(class_2487 arg0, class_7225$class_7874 arg1)
writeNbt(NbtCompound arg0, RegistryWrapper$WrapperLookup arg1)
protected void
a(ux arg0, js$a arg1)
loadAdditional(CompoundTag arg0, HolderLookup$Provider arg1)
method_11014(class_2487 arg0, class_7225$class_7874 arg1)
readNbt(NbtCompound arg0, RegistryWrapper$WrapperLookup arg1)
private void
G()
updateBlockState()
method_11348()
updateBlockMode()
public ClientboundBlockEntityDataPacket
b()
getUpdatePacket()
method_38252()
toUpdatePacket()
public CompoundTag
a(js$a arg0)
getUpdateTag(HolderLookup$Provider arg0)
method_16887(class_7225$class_7874 arg0)
toInitialChunkDataNbt(RegistryWrapper$WrapperLookup arg0)
public boolean
a(cpx arg0)
usedBy(Player arg0)
method_11351(class_1657 arg0)
openScreen(PlayerEntity player)
public String
c()
getStructureName()
method_11362()
getTemplateName()
public boolean
d()
hasStructureName()
method_11384()
hasStructureName()
public void
a(String arg0)
setStructureName(String arg0)
method_11343(String arg0)
setTemplateName(String templateName)
public void
a(alz arg0)
setStructureName(ResourceLocation arg0)
method_11344(class_2960 arg0)
setTemplateName(Identifier templateName)
public void
a(bwg arg0)
createdBy(LivingEntity arg0)
method_11373(class_1309 arg0)
setAuthor(LivingEntity entity)
public BlockPos
f()
getStructurePos()
method_11359()
getOffset()
public void
a(jh arg0)
setStructurePos(BlockPos arg0)
method_11378(class_2338 arg0)
setOffset(BlockPos offset)
public Vec3i
j()
getStructureSize()
method_11349()
getSize()
public void
a(kl arg0)
setStructureSize(Vec3i arg0)
method_11377(class_2382 arg0)
setSize(Vec3i size)
public Mirror
k()
getMirror()
method_11345()
getMirror()
public void
a(dpl arg0)
setMirror(Mirror arg0)
method_11356(class_2415 arg0)
setMirror(BlockMirror mirror)
public Rotation
t()
getRotation()
method_11353()
getRotation()
public void
a(drc arg0)
setRotation(Rotation arg0)
method_11385(class_2470 arg0)
setRotation(BlockRotation rotation)
public String
u()
getMetaData()
method_11358()
getMetadata()
public void
b(String arg0)
setMetaData(String arg0)
method_11363(String arg0)
setMetadata(String metadata)
public StructureMode
v()
getMode()
method_11374()
getMode()
public void
a(dze arg0)
setMode(StructureMode arg0)
method_11381(class_2776 arg0)
setMode(StructureBlockMode mode)
public boolean
w()
isIgnoreEntities()
method_11367()
shouldIgnoreEntities()
public void
a(boolean arg0)
setIgnoreEntities(boolean arg0)
method_11352(boolean arg0)
setIgnoreEntities(boolean ignoreEntities)
public float
x()
getIntegrity()
method_11346()
getIntegrity()
public void
a(float arg0)
setIntegrity(float arg0)
method_11370(float arg0)
setIntegrity(float integrity)
public long
y()
getSeed()
method_11371()
getSeed()
public void
a(long arg0)
setSeed(long arg0)
method_11382(long arg0)
setSeed(long seed)
public boolean
z()
detectSize()
method_11383()
detectStructureSize()
private Stream<BlockPos>
a(jh arg0, jh arg1)
getRelatedCorners(BlockPos arg0, BlockPos arg1)
method_34276(class_2338 arg0, class_2338 arg1)
streamCornerPos(BlockPos start, BlockPos end)
private static Optional<BoundingBox>
a(jh arg0, Stream<jh> arg1)
calculateEnclosingBoundingBox(BlockPos arg0, Stream<BlockPos> arg1)
method_34277(class_2338 arg0, Stream<class_2338> arg1)
getStructureBox(BlockPos pos, Stream<BlockPos> corners)
public boolean
A()
saveStructure()
method_11365()
saveStructure()
public boolean
b(boolean arg0)
saveStructure(boolean arg0)
method_11366(boolean arg0)
saveStructure(boolean interactive)
public static RandomSource
b(long arg0)
createRandom(long arg0)
method_20048(long arg0)
createRandom(long seed)
public boolean
a(ash arg0)
placeStructureIfSameSize(ServerLevel arg0)
method_54874(class_3218 arg0)
loadAndTryPlaceStructure(ServerWorld world)
public boolean
b(ash arg0)
loadStructureInfo(ServerLevel arg0)
method_11376(class_3218 arg0)
loadStructure(ServerWorld world)
private void
a(esm arg0)
loadStructureInfo(StructureTemplate arg0)
method_54877(class_3499 arg0)
loadStructure(StructureTemplate template)
public void
c(ash arg0)
placeStructure(ServerLevel arg0)
method_54878(class_3218 arg0)
loadAndPlaceStructure(ServerWorld world)
private StructureTemplate
d(ash arg0)
getStructureTemplate(ServerLevel arg0)
method_54879(class_3218 arg0)
getStructureTemplate(ServerWorld world)
private void
a(ash arg0, esm arg1)
placeStructure(ServerLevel arg0, StructureTemplate arg1)
method_54875(class_3218 arg0, class_3499 arg1)
loadAndPlaceStructure(ServerWorld world, StructureTemplate template)
public void
B()
unloadStructure()
method_11361()
unloadStructure()
public boolean
C()
isStructureLoadable()
method_11372()
isStructureAvailable()
public boolean
D()
isPowered()
method_11354()
isPowered()
public void
c(boolean arg0)
setPowered(boolean arg0)
method_11379(boolean arg0)
setPowered(boolean powered)
public boolean
E()
getShowAir()
method_11375()
shouldShowAir()
public void
d(boolean arg0)
setShowAir(boolean arg0)
method_11347(boolean arg0)
setShowAir(boolean showAir)
public boolean
F()
getShowBoundingBox()
method_11357()
shouldShowBoundingBox()
public void
e(boolean arg0)
setShowBoundingBox(boolean arg0)
method_11360(boolean arg0)
setShowBoundingBox(boolean showBoundingBox)