net.minecraft.world.level.levelgen.structure

public abstract class StructureStart<C extends FeatureConfiguration>

implements StructurePieceAccessor

dbo
net.minecraft.world.level.levelgen.structure.StructureStart
net.minecraft.class_3449
net.minecraft.structure.StructureStart
net.minecraft.src.C_2588_
net.minecraft.world.level.levelgen.structure.StructureStart

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
e
LOGGER
field_29328
LOGGER
f_163591_
public static final String
a
INVALID_START_ID
field_31662
INVALID
f_163590_
public static final StructureStart<?>
b
INVALID_START
field_16713
DEFAULT
f_73561_
private final StructureFeature<C>
f
feature
field_16714
feature
f_73565_
protected final List<StructurePiece>
c
pieces
field_15325
children
f_73562_
private final ChunkPos
g
chunkPos
field_29070
pos
f_163592_
private int
h
references
field_15326
references
f_73568_
protected final WorldgenRandom
d
random
field_16715
random
f_73564_
private BoundingBox
i
cachedBoundingBox
field_31663
boundingBox
f_163593_

Constructor summary

ModifierConstructor
public (StructureFeature<C> feature, ChunkPos pos, int references, long seed)

Method summary

Modifier and TypeMethod
public abstract void
a(gx arg0, cmo arg1, dcq arg2, bvv arg3, bxp arg4, C arg5, bws arg6)
generatePieces(RegistryAccess arg0, ChunkGenerator arg1, StructureManager arg2, ChunkPos arg3, Biome arg4, C arg5, LevelHeightAccessor arg6)
method_16655(class_5455 arg0, class_2794 arg1, class_3485 arg2, class_1923 arg3, class_1959 arg4, C arg5, class_5539 arg6)
init(DynamicRegistryManager registryManager, ChunkGenerator chunkGenerator, StructureManager manager, ChunkPos pos, Biome biome, C config, HeightLimitView world)
m_142743_(C_4706_ p_163616_, C_2118_ p_163617_, C_2627_ p_163618_, C_1560_ p_163619_, C_1629_ p_163620_, C p_163621_, C_141183_ arg6)
public final BoundingBox
c()
getBoundingBox()
method_14969()
setBoundingBoxFromChildren()
m_73601_()
protected BoundingBox
b()
createBoundingBox()
method_36217()
calculateBoundingBox()
m_142516_()
public List<StructurePiece>
d()
getPieces()
method_14963()
getChildren()
m_73602_()
public void
a(bxl arg0, bxh arg1, cmo arg2, Random arg3, dar arg4, bvv arg5)
placeInChunk(WorldGenLevel arg0, StructureFeatureManager arg1, ChunkGenerator arg2, Random arg3, BoundingBox arg4, ChunkPos arg5)
method_14974(class_5281 arg0, class_5138 arg1, class_2794 arg2, Random arg3, class_3341 arg4, class_1923 arg5)
generateStructure(StructureWorldAccess world, StructureAccessor structureAccessor, ChunkGenerator chunkGenerator, Random random, BlockBox box, ChunkPos chunkPos)
m_7129_(C_1625_ p_73585_, C_1621_ p_73586_, C_2118_ p_73587_, Random p_73588_, C_2478_ p_73589_, C_1560_ arg5)
public CompoundTag
a(abr arg0, bvv arg1)
createTag(ServerLevel arg0, ChunkPos arg1)
method_14972(class_3218 arg0, class_1923 arg1)
toNbt(ServerWorld world, ChunkPos chunkPos)
m_163606_(C_12_ p_163608_, C_1560_ arg1)
protected void
a(int arg0, int arg1, Random arg2, int arg3)
moveBelowSeaLevel(int arg0, int arg1, Random arg2, int arg3)
method_14978(int arg0, int arg1, Random arg2, int arg3)
randomUpwardTranslation(int seaLevel, int arg1, Random random, int arg3)
m_163601_(int p_163603_, int p_163604_, Random p_163605_, int arg3)
protected void
a(Random arg0, int arg1, int arg2)
moveInsideHeights(Random arg0, int arg1, int arg2)
method_14976(Random arg0, int arg1, int arg2)
randomUpwardTranslation(Random random, int minY, int maxY)
m_73597_(Random p_73599_, int p_73600_, int arg2)
protected void
a(int arg0)
offsetPiecesVertically(int arg0)
method_35463(int arg0)
translateUpward(int amount)
m_163599_(int arg0)
private void
n()
invalidateCache()
method_35468()
resetBoundingBox()
m_163628_()
public boolean
e()
isValid()
method_16657()
hasChildren()
m_73603_()
public ChunkPos
f()
getChunkPos()
method_34000()
getPos()
m_163625_()
public BlockPos
a()
getLocatePos()
method_14962()
getBlockPos()
m_7148_()
public boolean
g()
canBeReferenced()
method_14979()
isInExistingChunk()
m_73606_()
public void
h()
addReference()
method_14964()
incrementReferences()
m_73607_()
public int
i()
getReferences()
method_23676()
getReferences()
m_73608_()
protected int
j()
getMaxReferences()
method_14970()
getReferenceCountToBeInExistingChunk()
m_73609_()
public StructureFeature<?>
k()
getFeature()
method_16656()
getFeature()
m_73610_()
public void
a(dbm arg0)
addPiece(StructurePiece arg0)
method_35462(class_3443 arg0)
addPiece(StructurePiece arg0)
m_142679_(C_2585_ arg0)
public StructurePiece
a(dar arg0)
findCollisionPiece(BoundingBox arg0)
method_35461(class_3341 arg0)
getIntersecting(BlockBox arg0)
m_141921_(C_2478_ arg0)
public void
l()
clearPieces()
method_35466()
clearChildren()
m_163626_()
public boolean
m()
hasNoPieces()
method_35467()
hasNoChildren()
m_163627_()
public static StructurePiece
a(List<dbm> arg0, dar arg1)
findCollisionPiece(List<StructurePiece> arg0, BoundingBox arg1)
method_35465(List<class_3443> arg0, class_3341 arg1)
getIntersecting(List<StructurePiece> pieces, BlockBox box)
m_163622_(List<C_2585_> p_163623_, C_2478_ p_163624_)
protected boolean
a(gg arg0)
isInsidePiece(BlockPos arg0)
method_35464(class_2338 arg0)
contains(BlockPos pos)
m_163613_(C_4675_ arg0)