net.minecraft.world.level.block.entity

public class StructureBlockEntity

extends BlockEntity

dvs
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
q
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(tq arg0, jt$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(tq arg0, jt$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
F()
updateBlockState()
method_11348()
updateBlockMode()
public ClientboundBlockEntityDataPacket
b()
getUpdatePacket()
method_38252()
toUpdatePacket()
public CompoundTag
a(jt$a arg0)
getUpdateTag(HolderLookup$Provider arg0)
method_16887(class_7225$class_7874 arg0)
toInitialChunkDataNbt(RegistryWrapper$WrapperLookup arg0)
public boolean
a(coy 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(akv arg0)
setStructureName(ResourceLocation arg0)
method_11344(class_2960 arg0)
setTemplateName(Identifier templateName)
public void
a(bvi arg0)
createdBy(LivingEntity arg0)
method_11373(class_1309 arg0)
setAuthor(LivingEntity entity)
public BlockPos
f()
getStructurePos()
method_11359()
getOffset()
public void
a(ji arg0)
setStructurePos(BlockPos arg0)
method_11378(class_2338 arg0)
setOffset(BlockPos offset)
public Vec3i
j()
getStructureSize()
method_11349()
getSize()
public void
a(km arg0)
setStructureSize(Vec3i arg0)
method_11377(class_2382 arg0)
setSize(Vec3i size)
public Mirror
k()
getMirror()
method_11345()
getMirror()
public void
a(dom arg0)
setMirror(Mirror arg0)
method_11356(class_2415 arg0)
setMirror(BlockMirror mirror)
public Rotation
s()
getRotation()
method_11353()
getRotation()
public void
a(dqf arg0)
setRotation(Rotation arg0)
method_11385(class_2470 arg0)
setRotation(BlockRotation rotation)
public String
t()
getMetaData()
method_11358()
getMetadata()
public void
b(String arg0)
setMetaData(String arg0)
method_11363(String arg0)
setMetadata(String metadata)
public StructureMode
u()
getMode()
method_11374()
getMode()
public void
a(dyh arg0)
setMode(StructureMode arg0)
method_11381(class_2776 arg0)
setMode(StructureBlockMode mode)
public boolean
v()
isIgnoreEntities()
method_11367()
shouldIgnoreEntities()
public void
a(boolean arg0)
setIgnoreEntities(boolean arg0)
method_11352(boolean arg0)
setIgnoreEntities(boolean ignoreEntities)
public float
w()
getIntegrity()
method_11346()
getIntegrity()
public void
a(float arg0)
setIntegrity(float arg0)
method_11370(float arg0)
setIntegrity(float integrity)
public long
x()
getSeed()
method_11371()
getSeed()
public void
a(long arg0)
setSeed(long arg0)
method_11382(long arg0)
setSeed(long seed)
public boolean
y()
detectSize()
method_11383()
detectStructureSize()
private Stream<BlockPos>
a(ji arg0, ji arg1)
getRelatedCorners(BlockPos arg0, BlockPos arg1)
method_34276(class_2338 arg0, class_2338 arg1)
streamCornerPos(BlockPos start, BlockPos end)
private static Optional<BoundingBox>
a(ji arg0, Stream<ji> arg1)
calculateEnclosingBoundingBox(BlockPos arg0, Stream<BlockPos> arg1)
method_34277(class_2338 arg0, Stream<class_2338> arg1)
getStructureBox(BlockPos pos, Stream<BlockPos> corners)
public boolean
z()
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(ard arg0)
placeStructureIfSameSize(ServerLevel arg0)
method_54874(class_3218 arg0)
loadAndTryPlaceStructure(ServerWorld world)
public boolean
b(ard arg0)
loadStructureInfo(ServerLevel arg0)
method_11376(class_3218 arg0)
loadStructure(ServerWorld world)
private void
a(erp arg0)
loadStructureInfo(StructureTemplate arg0)
method_54877(class_3499 arg0)
loadStructure(StructureTemplate template)
public void
c(ard arg0)
placeStructure(ServerLevel arg0)
method_54878(class_3218 arg0)
loadAndPlaceStructure(ServerWorld world)
private StructureTemplate
d(ard arg0)
getStructureTemplate(ServerLevel arg0)
method_54879(class_3218 arg0)
getStructureTemplate(ServerWorld world)
private void
a(ard arg0, erp arg1)
placeStructure(ServerLevel arg0, StructureTemplate arg1)
method_54875(class_3218 arg0, class_3499 arg1)
loadAndPlaceStructure(ServerWorld world, StructureTemplate template)
public void
A()
unloadStructure()
method_11361()
unloadStructure()
public boolean
B()
isStructureLoadable()
method_11372()
isStructureAvailable()
public boolean
C()
isPowered()
method_11354()
isPowered()
public void
c(boolean arg0)
setPowered(boolean arg0)
method_11379(boolean arg0)
setPowered(boolean powered)
public boolean
D()
getShowAir()
method_11375()
shouldShowAir()
public void
d(boolean arg0)
setShowAir(boolean arg0)
method_11347(boolean arg0)
setShowAir(boolean showAir)
public boolean
E()
getShowBoundingBox()
method_11357()
shouldShowBoundingBox()
public void
e(boolean arg0)
setShowBoundingBox(boolean arg0)
method_11360(boolean arg0)
setShowBoundingBox(boolean showBoundingBox)