public class OceanRuinGenerator extends Object
Modifier and Type | Class and Description |
---|---|
static class |
OceanRuinGenerator.Piece |
Modifier and Type | Field and Description |
---|---|
private static Identifier[] |
BIG_BRICK_RUINS |
private static Identifier[] |
BIG_CRACKED_RUINS |
private static Identifier[] |
BIG_MOSSY_RUINS |
private static Identifier[] |
BIG_WARM_RUINS |
private static Identifier[] |
BRICK_RUINS |
private static Identifier[] |
CRACKED_RUINS |
private static Identifier[] |
MOSSY_RUINS |
private static Identifier[] |
WARM_RUINS |
Constructor and Description |
---|
OceanRuinGenerator() |
Modifier and Type | Method and Description |
---|---|
static void |
addPieces(StructureManager manager,
BlockPos pos,
BlockRotation rotation,
List<StructurePiece> pieces,
Random random,
OceanRuinFeatureConfig config) |
private static Identifier |
getRandomBigWarmRuin(Random random) |
private static Identifier |
getRandomWarmRuin(Random random) |
private static List<BlockPos> |
getRoomPositions(Random random,
int x,
int z) |
private static void |
method_14822(StructureManager manager,
BlockPos pos,
BlockRotation rotation,
List<StructurePiece> pieces,
Random random,
OceanRuinFeatureConfig config,
boolean large,
float integrity) |
private static void |
method_14825(StructureManager manager,
Random random,
BlockRotation rotation,
BlockPos pos,
OceanRuinFeatureConfig config,
List<StructurePiece> pieces) |
private static final Identifier[] WARM_RUINS
private static final Identifier[] BRICK_RUINS
private static final Identifier[] CRACKED_RUINS
private static final Identifier[] MOSSY_RUINS
private static final Identifier[] BIG_BRICK_RUINS
private static final Identifier[] BIG_MOSSY_RUINS
private static final Identifier[] BIG_CRACKED_RUINS
private static final Identifier[] BIG_WARM_RUINS
private static Identifier getRandomWarmRuin(Random random)
private static Identifier getRandomBigWarmRuin(Random random)
public static void addPieces(StructureManager manager, BlockPos pos, BlockRotation rotation, List<StructurePiece> pieces, Random random, OceanRuinFeatureConfig config)
private static void method_14825(StructureManager manager, Random random, BlockRotation rotation, BlockPos pos, OceanRuinFeatureConfig config, List<StructurePiece> pieces)
private static void method_14822(StructureManager manager, BlockPos pos, BlockRotation rotation, List<StructurePiece> pieces, Random random, OceanRuinFeatureConfig config, boolean large, float integrity)