Class OceanRuinPieces.OceanRuinPiece
java.lang.Object
net.minecraft.world.level.levelgen.structure.StructurePiece
net.minecraft.world.level.levelgen.structure.TemplateStructurePiece
net.minecraft.world.level.levelgen.structure.OceanRuinPieces.OceanRuinPiece
- Enclosing class:
- OceanRuinPieces
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
StructurePiece.BlockSelector
-
Field Summary
Fields inherited from class net.minecraft.world.level.levelgen.structure.TemplateStructurePiece
placeSettings, template, templateName, templatePosition
Fields inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
boundingBox, CAVE_AIR, genDepth
-
Constructor Summary
ConstructorDescriptionOceanRuinPiece(ServerLevel p_163107_, CompoundTag p_163108_)
OceanRuinPiece(StructureManager p_72568_, ResourceLocation p_72569_, BlockPos p_72570_, Rotation p_72571_, float p_72572_, OceanRuinFeature.Type p_72573_, boolean p_72574_)
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
addAdditionalSaveData(ServerLevel p_163110_, CompoundTag p_163111_)
private int
getHeight(BlockPos p_72586_, BlockGetter p_72587_, BlockPos p_72588_)
protected void
handleDataMarker(String p_72590_, BlockPos p_72591_, ServerLevelAccessor p_72592_, Random p_72593_, BoundingBox p_72594_)
private static StructurePlaceSettings
makeSettings(Rotation p_163113_)
boolean
postProcess(WorldGenLevel p_72576_, StructureFeatureManager p_72577_, ChunkGenerator p_72578_, Random p_72579_, BoundingBox p_72580_, ChunkPos p_72581_, BlockPos p_72582_)
Methods inherited from class net.minecraft.world.level.levelgen.structure.TemplateStructurePiece
getRotation, makeTemplateLocation, move
Methods inherited from class net.minecraft.world.level.levelgen.structure.StructurePiece
addChildren, canBeReplaced, createChest, createChest, createDispenser, createTag, fillColumnDown, generateAirBox, generateBox, generateBox, generateBox, generateBox, generateMaybeBox, generateUpperHalfSphere, getBlock, getBoundingBox, getGenDepth, getLocatorPosition, getMirror, getNoiseEffect, getOrientation, getRandomHorizontalDirection, getType, getWorldPos, getWorldX, getWorldY, getWorldZ, isCloseToChunk, isInterior, isReplaceableByStructures, makeBoundingBox, maybeGenerateBlock, placeBlock, reorient, setOrientation
-
Field Details
-
biomeType
-
integrity
private final float integrity -
isLarge
private final boolean isLarge
-
-
Constructor Details
-
OceanRuinPiece
public OceanRuinPiece(StructureManager p_72568_, ResourceLocation p_72569_, BlockPos p_72570_, Rotation p_72571_, float p_72572_, OceanRuinFeature.Type p_72573_, boolean p_72574_) -
OceanRuinPiece
-
-
Method Details
-
makeSettings
-
addAdditionalSaveData
- Overrides:
addAdditionalSaveData
in classTemplateStructurePiece
-
handleDataMarker
protected void handleDataMarker(String p_72590_, BlockPos p_72591_, ServerLevelAccessor p_72592_, Random p_72593_, BoundingBox p_72594_)- Specified by:
handleDataMarker
in classTemplateStructurePiece
-
postProcess
public boolean postProcess(WorldGenLevel p_72576_, StructureFeatureManager p_72577_, ChunkGenerator p_72578_, Random p_72579_, BoundingBox p_72580_, ChunkPos p_72581_, BlockPos p_72582_)- Overrides:
postProcess
in classTemplateStructurePiece
-
getHeight
-