Class JigsawStructure
java.lang.Object
net.minecraft.world.level.levelgen.structure.Structure
net.minecraft.world.level.levelgen.structure.structures.JigsawStructure
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.levelgen.structure.Structure
Structure.GenerationContext, Structure.GenerationStub, Structure.StructureSettings
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec
<JigsawStructure> static final DimensionPadding
static final LiquidSettings
private final DimensionPadding
private final LiquidSettings
static final int
static final int
private final int
private final int
static final int
private final List
<PoolAliasBinding> private final Optional
<Heightmap.Types> private final HeightProvider
private final Optional
<ResourceLocation> private final Holder
<StructureTemplatePool> private final boolean
Fields inherited from class net.minecraft.world.level.levelgen.structure.Structure
DIRECT_CODEC
-
Constructor Summary
ConstructorDescriptionJigsawStructure
(Structure.StructureSettings p_227614_, Holder<StructureTemplatePool> p_227615_, int p_227616_, HeightProvider p_227617_, boolean p_227618_) JigsawStructure
(Structure.StructureSettings p_227620_, Holder<StructureTemplatePool> p_227621_, int p_227622_, HeightProvider p_227623_, boolean p_227624_, Heightmap.Types p_227625_) JigsawStructure
(Structure.StructureSettings p_227627_, Holder<StructureTemplatePool> p_227628_, Optional<ResourceLocation> p_227629_, int p_227630_, HeightProvider p_227631_, boolean p_227632_, Optional<Heightmap.Types> p_227633_, int p_227634_, List<PoolAliasBinding> p_312703_, DimensionPadding p_344382_, LiquidSettings p_344801_) -
Method Summary
Modifier and TypeMethodDescriptionfindGenerationPoint
(Structure.GenerationContext p_227636_) type()
private static com.mojang.serialization.DataResult
<JigsawStructure> verifyRange
(JigsawStructure p_286886_) Methods inherited from class net.minecraft.world.level.levelgen.structure.Structure
adjustBoundingBox, afterPlace, biomes, findValidGenerationPoint, generate, getLowestY, getLowestY, getLowestYIn5by5BoxOffset7Blocks, getMeanFirstOccupiedHeight, getModifiedStructureSettings, modifiableStructureInfo, onTopOfChunkCenter, settingsCodec, simpleCodec, spawnOverrides, step, terrainAdaptation
-
Field Details
-
DEFAULT_DIMENSION_PADDING
-
DEFAULT_LIQUID_SETTINGS
-
MAX_TOTAL_STRUCTURE_RANGE
public static final int MAX_TOTAL_STRUCTURE_RANGE- See Also:
-
MIN_DEPTH
public static final int MIN_DEPTH- See Also:
-
MAX_DEPTH
public static final int MAX_DEPTH- See Also:
-
CODEC
-
startPool
-
startJigsawName
-
maxDepth
private final int maxDepth -
startHeight
-
useExpansionHack
private final boolean useExpansionHack -
projectStartToHeightmap
-
maxDistanceFromCenter
private final int maxDistanceFromCenter -
poolAliases
-
dimensionPadding
-
liquidSettings
-
-
Constructor Details
-
JigsawStructure
public JigsawStructure(Structure.StructureSettings p_227627_, Holder<StructureTemplatePool> p_227628_, Optional<ResourceLocation> p_227629_, int p_227630_, HeightProvider p_227631_, boolean p_227632_, Optional<Heightmap.Types> p_227633_, int p_227634_, List<PoolAliasBinding> p_312703_, DimensionPadding p_344382_, LiquidSettings p_344801_) -
JigsawStructure
public JigsawStructure(Structure.StructureSettings p_227620_, Holder<StructureTemplatePool> p_227621_, int p_227622_, HeightProvider p_227623_, boolean p_227624_, Heightmap.Types p_227625_) -
JigsawStructure
public JigsawStructure(Structure.StructureSettings p_227614_, Holder<StructureTemplatePool> p_227615_, int p_227616_, HeightProvider p_227617_, boolean p_227618_)
-
-
Method Details
-
verifyRange
private static com.mojang.serialization.DataResult<JigsawStructure> verifyRange(JigsawStructure p_286886_) -
findGenerationPoint
public Optional<Structure.GenerationStub> findGenerationPoint(Structure.GenerationContext p_227636_) - Specified by:
findGenerationPoint
in classStructure
-
type
-