Package net.minecraft.structure
Class OceanRuinGenerator
java.lang.Object
net.minecraft.structure.OceanRuinGenerator
public class OceanRuinGenerator extends Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classOceanRuinGenerator.Piece -
Field Summary
Fields Modifier and Type Field Description private static Identifier[]BIG_BRICK_RUINSprivate static Identifier[]BIG_CRACKED_RUINSprivate static Identifier[]BIG_MOSSY_RUINSprivate static Identifier[]BIG_WARM_RUINSprivate static Identifier[]BRICK_RUINSprivate static Identifier[]CRACKED_RUINSprivate static Identifier[]MOSSY_RUINSprivate static Identifier[]WARM_RUINS -
Constructor Summary
Constructors Constructor Description OceanRuinGenerator() -
Method Summary
Modifier and Type Method Description static voidaddPieces(StructureManager manager, BlockPos pos, BlockRotation rotation, List<StructurePiece> pieces, Random random, OceanRuinFeatureConfig config)private static IdentifiergetRandomBigWarmRuin(Random random)private static IdentifiergetRandomWarmRuin(Random random)private static List<BlockPos>getRoomPositions(Random random, int x, int z)private static voidmethod_14822(StructureManager manager, BlockPos pos, BlockRotation rotation, List<StructurePiece> pieces, Random random, OceanRuinFeatureConfig config, boolean large, float integrity)private static voidmethod_14825(StructureManager manager, Random random, BlockRotation rotation, BlockPos pos, OceanRuinFeatureConfig config, List<StructurePiece> pieces)
-
Field Details
-
WARM_RUINS
-
BRICK_RUINS
-
CRACKED_RUINS
-
MOSSY_RUINS
-
BIG_BRICK_RUINS
-
BIG_MOSSY_RUINS
-
BIG_CRACKED_RUINS
-
BIG_WARM_RUINS
-
-
Constructor Details
-
OceanRuinGenerator
public OceanRuinGenerator()
-
-
Method Details
-
getRandomWarmRuin
-
getRandomBigWarmRuin
-
addPieces
public static void addPieces(StructureManager manager, BlockPos pos, BlockRotation rotation, List<StructurePiece> pieces, Random random, OceanRuinFeatureConfig config) -
method_14825
private static void method_14825(StructureManager manager, Random random, BlockRotation rotation, BlockPos pos, OceanRuinFeatureConfig config, List<StructurePiece> pieces) -
getRoomPositions
-
method_14822
private static void method_14822(StructureManager manager, BlockPos pos, BlockRotation rotation, List<StructurePiece> pieces, Random random, OceanRuinFeatureConfig config, boolean large, float integrity)
-