public class RuinedPortalFeature extends AbstractTempleFeature<RuinedPortalFeatureConfig>
| Modifier and Type | Class and Description |
|---|---|
static class |
RuinedPortalFeature.Start |
static class |
RuinedPortalFeature.Type |
StructureFeature.StructureStartFactory| Modifier and Type | Field and Description |
|---|---|
private static String[] |
COMMON_PORTAL_STRUCTURE_IDS |
private static String[] |
RARE_PORTAL_STRUCTURE_IDS |
BAMBOO, BASALT_COLUMNS, BASALT_PILLAR, BASTION_REMNANT, BLOCK_PILE, BLUE_ICE, BONUS_CHEST, BURIED_TREASURE, CHORUS_PLANT, CORAL_CLAW, CORAL_MUSHROOM, CORAL_TREE, DARK_OAK_TREE, DECORATED, DECORATED_FLOWER, DELTA_FEATURE, DESERT_PYRAMID, DESERT_WELL, DISK, EMERALD_ORE, END_CITY, END_GATEWAY, END_ISLAND, END_SPIKE, FANCY_TREE, FILL_LAYER, FLOWER, FOREST_ROCK, FOSSIL, FREEZE_TOP_LAYER, GLOWSTONE_BLOB, HUGE_BROWN_MUSHROOM, HUGE_FUNGUS, HUGE_RED_MUSHROOM, ICE_PATCH, ICE_SPIKE, ICEBERG, IGLOO, JIGSAW_STRUCTURES, JUNGLE_GROUND_BUSH, JUNGLE_TEMPLE, KELP, LAKE, MEGA_JUNGLE_TREE, MEGA_SPRUCE_TREE, MINESHAFT, MONSTER_ROOM, NETHER_BRIDGE, NETHER_FOREST_VEGETATION, NETHER_FOSSIL, NETHERRACK_REPLACE_BLOBS, NO_OP, NO_SURFACE_ORE, NORMAL_TREE, OCEAN_MONUMENT, OCEAN_RUIN, ORE, PILLAGER_OUTPOST, RANDOM_BOOLEAN_SELECTOR, RANDOM_PATCH, RANDOM_RANDOM_SELECTOR, RANDOM_SELECTOR, RUINED_PORTAL, SEA_PICKLE, SEAGRASS, SHIPWRECK, SIMPLE_BLOCK, SIMPLE_RANDOM_SELECTOR, SPRING_FEATURE, STRONGHOLD, STRUCTURES, SWAMP_HUT, TWISTING_VINES, VILLAGE, VINES, VOID_START_PLATFORM, WEEPING_VINES, WOODLAND_MANSION| Constructor and Description |
|---|
RuinedPortalFeature(Function<com.mojang.datafixers.Dynamic<?>,? extends RuinedPortalFeatureConfig> configDeserializer) |
| Modifier and Type | Method and Description |
|---|---|
private static int |
choose(Random random,
int min,
int max) |
private static int |
choosePlacementHeight(Random random,
int min,
int max) |
String |
getName() |
int |
getRadius() |
protected int |
getSeedModifier(ChunkGeneratorConfig chunkGeneratorConfig) |
protected int |
getSeparation(DimensionType dimensionType,
ChunkGeneratorConfig chunkGenerationConfig) |
protected int |
getSpacing(DimensionType dimensionType,
ChunkGeneratorConfig chunkGeneratorConfig) |
StructureFeature.StructureStartFactory |
getStructureStartFactory() |
private static boolean |
method_27209(BlockPos blockPos,
Biome biome) |
private static int |
method_27211(Random random,
ChunkGenerator<?> chunkGenerator,
RuinedPortalFeaturePiece.VerticalPlacement verticalPlacement,
boolean bool,
int int2,
int int3,
BlockBox blockBox) |
configure, generate, isApproximatelyInsideStructure, isInsideStructure, isInsideStructure, locateStructure, method_27217, method_27218, method_27219, shouldStartAtdeserializeConfig, getCreatureSpawns, getMonsterSpawns, isDirt, isStone, setBlockStateprivate static final String[] COMMON_PORTAL_STRUCTURE_IDS
private static final String[] RARE_PORTAL_STRUCTURE_IDS
public RuinedPortalFeature(Function<com.mojang.datafixers.Dynamic<?>,? extends RuinedPortalFeatureConfig> configDeserializer)
public String getName()
getName in class StructureFeature<RuinedPortalFeatureConfig>public int getRadius()
getRadius in class StructureFeature<RuinedPortalFeatureConfig>protected int getSpacing(DimensionType dimensionType, ChunkGeneratorConfig chunkGeneratorConfig)
getSpacing in class AbstractTempleFeature<RuinedPortalFeatureConfig>protected int getSeparation(DimensionType dimensionType, ChunkGeneratorConfig chunkGenerationConfig)
getSeparation in class AbstractTempleFeature<RuinedPortalFeatureConfig>public StructureFeature.StructureStartFactory getStructureStartFactory()
getStructureStartFactory in class StructureFeature<RuinedPortalFeatureConfig>protected int getSeedModifier(ChunkGeneratorConfig chunkGeneratorConfig)
getSeedModifier in class AbstractTempleFeature<RuinedPortalFeatureConfig>private static int method_27211(Random random, ChunkGenerator<?> chunkGenerator, RuinedPortalFeaturePiece.VerticalPlacement verticalPlacement, boolean bool, int int2, int int3, BlockBox blockBox)
private static int choose(Random random, int min, int max)
private static int choosePlacementHeight(Random random, int min, int max)