Class LegacySinglePoolElement
java.lang.Object
net.minecraft.world.level.levelgen.structure.pools.StructurePoolElement
net.minecraft.world.level.levelgen.structure.pools.SinglePoolElement
net.minecraft.world.level.levelgen.structure.pools.LegacySinglePoolElement
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec
<LegacySinglePoolElement> Fields inherited from class net.minecraft.world.level.levelgen.structure.pools.SinglePoolElement
overrideLiquidSettings, processors, template
-
Constructor Summary
ModifierConstructorDescriptionprotected
LegacySinglePoolElement
(com.mojang.datafixers.util.Either<ResourceLocation, StructureTemplate> p_210348_, Holder<StructureProcessorList> p_210349_, StructureTemplatePool.Projection p_210350_, Optional<LiquidSettings> p_343388_) -
Method Summary
Modifier and TypeMethodDescriptionprotected StructurePlaceSettings
getSettings
(Rotation p_210353_, BoundingBox p_210354_, LiquidSettings p_345475_, boolean p_210355_) getType()
toString()
Methods inherited from class net.minecraft.world.level.levelgen.structure.pools.SinglePoolElement
getBoundingBox, getDataMarkers, getShuffledJigsawBlocks, getSize, overrideLiquidSettingsCodec, place, processorsCodec, sortBySelectionPriority, templateCodec
Methods inherited from class net.minecraft.world.level.levelgen.structure.pools.StructurePoolElement
empty, feature, getGroundLevelDelta, getProjection, handleDataMarker, legacy, legacy, list, projectionCodec, setProjection, single, single, single, single
-
Field Details
-
CODEC
-
-
Constructor Details
-
LegacySinglePoolElement
protected LegacySinglePoolElement(com.mojang.datafixers.util.Either<ResourceLocation, StructureTemplate> p_210348_, Holder<StructureProcessorList> p_210349_, StructureTemplatePool.Projection p_210350_, Optional<LiquidSettings> p_343388_)
-
-
Method Details
-
getSettings
protected StructurePlaceSettings getSettings(Rotation p_210353_, BoundingBox p_210354_, LiquidSettings p_345475_, boolean p_210355_) - Overrides:
getSettings
in classSinglePoolElement
-
getType
- Overrides:
getType
in classSinglePoolElement
-
toString
- Overrides:
toString
in classSinglePoolElement
-