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.Codec<JigsawStructure>
static final int
private final int
private final int
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_) -
Method Summary
Modifier and TypeMethodDescriptionfindGenerationPoint
(Structure.GenerationContext p_227636_) type()
private static Function<JigsawStructure,
com.mojang.serialization.DataResult<JigsawStructure>> Methods inherited from class net.minecraft.world.level.levelgen.structure.Structure
adjustBoundingBox, afterPlace, biomes, generate, getLowestY, getLowestY, getLowestYIn5by5BoxOffset7Blocks, getModifiedStructureSettings, modifiableStructureInfo, onTopOfChunkCenter, settingsCodec, simpleCodec, spawnOverrides, step, terrainAdaptation
-
Field Details
-
MAX_TOTAL_STRUCTURE_RANGE
public static final int MAX_TOTAL_STRUCTURE_RANGE- See Also:
-
CODEC
-
startPool
-
startJigsawName
-
maxDepth
private final int maxDepth -
startHeight
-
useExpansionHack
private final boolean useExpansionHack -
projectStartToHeightmap
-
maxDistanceFromCenter
private final int maxDistanceFromCenter
-
-
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_) -
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 Function<JigsawStructure,com.mojang.serialization.DataResult<JigsawStructure>> verifyRange() -
findGenerationPoint
public Optional<Structure.GenerationStub> findGenerationPoint(Structure.GenerationContext p_227636_) - Specified by:
findGenerationPoint
in classStructure
-
type
-