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
Modifier and TypeFieldDescriptionprivate final OceanRuinFeature.Type
private final float
private final boolean
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
(StructureManager p_192392_, CompoundTag p_192393_) 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
(StructurePieceSerializationContext p_192403_, CompoundTag p_192404_) 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_) void
postProcess
(WorldGenLevel p_192395_, StructureFeatureManager p_192396_, ChunkGenerator p_192397_, Random p_192398_, BoundingBox p_192399_, ChunkPos p_192400_, BlockPos p_192401_) 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, createBoundingBox, createChest, createChest, createDispenser, createTag, fillColumnDown, findCollisionPiece, 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
protected void addAdditionalSaveData(StructurePieceSerializationContext p_192403_, CompoundTag p_192404_) - 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 void postProcess(WorldGenLevel p_192395_, StructureFeatureManager p_192396_, ChunkGenerator p_192397_, Random p_192398_, BoundingBox p_192399_, ChunkPos p_192400_, BlockPos p_192401_) - Overrides:
postProcess
in classTemplateStructurePiece
-
getHeight
-