Class OceanRuinPieces
java.lang.Object
net.minecraft.world.level.levelgen.structure.structures.OceanRuinPieces
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final ResourceLocation[]
private static final ResourceLocation[]
private static final ResourceLocation[]
private static final ResourceLocation[]
(package private) static final StructureProcessor
private static final ResourceLocation[]
private static final ResourceLocation[]
private static final ResourceLocation[]
private static final ResourceLocation[]
(package private) static final StructureProcessor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static void
addClusterRuins
(StructureTemplateManager structureTemplateManager, RandomSource random, Rotation p_rotation, BlockPos pos, OceanRuinStructure structure, StructurePieceAccessor structurePieceAccessor) private static void
addPiece
(StructureTemplateManager structureTemplateManager, BlockPos pos, Rotation rotation, StructurePieceAccessor structurePieceAccessor, RandomSource random, OceanRuinStructure structure, boolean isLarge, float integrity) static void
addPieces
(StructureTemplateManager structureTemplateManager, BlockPos pos, Rotation rotation, StructurePieceAccessor structurePieceAccessor, RandomSource random, OceanRuinStructure structure) allPositions
(RandomSource random, BlockPos pos) private static StructureProcessor
archyRuleProcessor
(Block block, Block suspiciousBlock, ResourceKey<LootTable> lootTable) private static ResourceLocation
getBigWarmRuin
(RandomSource random) private static ResourceLocation
getSmallWarmRuin
(RandomSource random)
-
Field Details
-
WARM_SUSPICIOUS_BLOCK_PROCESSOR
-
COLD_SUSPICIOUS_BLOCK_PROCESSOR
-
WARM_RUINS
-
RUINS_BRICK
-
RUINS_CRACKED
-
RUINS_MOSSY
-
BIG_RUINS_BRICK
-
BIG_RUINS_MOSSY
-
BIG_RUINS_CRACKED
-
BIG_WARM_RUINS
-
-
Constructor Details
-
OceanRuinPieces
public OceanRuinPieces()
-
-
Method Details
-
archyRuleProcessor
private static StructureProcessor archyRuleProcessor(Block block, Block suspiciousBlock, ResourceKey<LootTable> lootTable) -
getSmallWarmRuin
-
getBigWarmRuin
-
addPieces
public static void addPieces(StructureTemplateManager structureTemplateManager, BlockPos pos, Rotation rotation, StructurePieceAccessor structurePieceAccessor, RandomSource random, OceanRuinStructure structure) -
addClusterRuins
private static void addClusterRuins(StructureTemplateManager structureTemplateManager, RandomSource random, Rotation p_rotation, BlockPos pos, OceanRuinStructure structure, StructurePieceAccessor structurePieceAccessor) -
allPositions
-
addPiece
private static void addPiece(StructureTemplateManager structureTemplateManager, BlockPos pos, Rotation rotation, StructurePieceAccessor structurePieceAccessor, RandomSource random, OceanRuinStructure structure, boolean isLarge, float integrity)
-