public abstract class Feature<FC extends FeatureConfig> extends Object
Constructor and Description |
---|
Feature(Function<com.mojang.datafixers.Dynamic<?>,? extends FC> configDeserializer) |
Modifier and Type | Method and Description |
---|---|
ConfiguredFeature<FC,?> |
configure(FC config) |
FC |
deserializeConfig(com.mojang.datafixers.Dynamic<?> dynamic) |
abstract boolean |
generate(IWorld world,
StructureAccessor accessor,
ChunkGenerator<? extends ChunkGeneratorConfig> generator,
Random random,
BlockPos pos,
FC config) |
List<Biome.SpawnEntry> |
getCreatureSpawns() |
List<Biome.SpawnEntry> |
getMonsterSpawns() |
protected static boolean |
isDirt(Block block) |
protected static boolean |
isStone(Block block) |
private static <C extends FeatureConfig,F extends Feature<C>> |
register(String name,
F feature) |
protected void |
setBlockState(ModifiableWorld world,
BlockPos pos,
BlockState state) |
public static final StructureFeature<DefaultFeatureConfig> PILLAGER_OUTPOST
public static final StructureFeature<MineshaftFeatureConfig> MINESHAFT
public static final StructureFeature<DefaultFeatureConfig> WOODLAND_MANSION
public static final StructureFeature<DefaultFeatureConfig> JUNGLE_TEMPLE
public static final StructureFeature<DefaultFeatureConfig> DESERT_PYRAMID
public static final StructureFeature<DefaultFeatureConfig> IGLOO
public static final StructureFeature<RuinedPortalFeatureConfig> RUINED_PORTAL
public static final StructureFeature<ShipwreckFeatureConfig> SHIPWRECK
public static final SwampHutFeature SWAMP_HUT
public static final StructureFeature<DefaultFeatureConfig> STRONGHOLD
public static final StructureFeature<DefaultFeatureConfig> OCEAN_MONUMENT
public static final StructureFeature<OceanRuinFeatureConfig> OCEAN_RUIN
public static final StructureFeature<DefaultFeatureConfig> NETHER_BRIDGE
public static final StructureFeature<DefaultFeatureConfig> END_CITY
public static final StructureFeature<BuriedTreasureFeatureConfig> BURIED_TREASURE
public static final StructureFeature<StructurePoolFeatureConfig> VILLAGE
public static final StructureFeature<DefaultFeatureConfig> NETHER_FOSSIL
public static final StructureFeature<BastionRemnantFeatureConfig> BASTION_REMNANT
public static final Feature<DefaultFeatureConfig> NO_OP
public static final Feature<BranchedTreeFeatureConfig> NORMAL_TREE
public static final Feature<BranchedTreeFeatureConfig> FANCY_TREE
public static final Feature<TreeFeatureConfig> JUNGLE_GROUND_BUSH
public static final Feature<MegaTreeFeatureConfig> DARK_OAK_TREE
public static final Feature<MegaTreeFeatureConfig> MEGA_JUNGLE_TREE
public static final Feature<MegaTreeFeatureConfig> MEGA_SPRUCE_TREE
public static final FlowerFeature<RandomPatchFeatureConfig> FLOWER
public static final Feature<RandomPatchFeatureConfig> RANDOM_PATCH
public static final Feature<BlockPileFeatureConfig> BLOCK_PILE
public static final Feature<SpringFeatureConfig> SPRING_FEATURE
public static final Feature<DefaultFeatureConfig> CHORUS_PLANT
public static final Feature<EmeraldOreFeatureConfig> EMERALD_ORE
public static final Feature<DefaultFeatureConfig> VOID_START_PLATFORM
public static final Feature<DefaultFeatureConfig> DESERT_WELL
public static final Feature<DefaultFeatureConfig> FOSSIL
public static final Feature<HugeMushroomFeatureConfig> HUGE_RED_MUSHROOM
public static final Feature<HugeMushroomFeatureConfig> HUGE_BROWN_MUSHROOM
public static final Feature<DefaultFeatureConfig> ICE_SPIKE
public static final Feature<DefaultFeatureConfig> GLOWSTONE_BLOB
public static final Feature<DefaultFeatureConfig> FREEZE_TOP_LAYER
public static final Feature<DefaultFeatureConfig> VINES
public static final Feature<DefaultFeatureConfig> MONSTER_ROOM
public static final Feature<DefaultFeatureConfig> BLUE_ICE
public static final Feature<SingleStateFeatureConfig> ICEBERG
public static final Feature<BoulderFeatureConfig> FOREST_ROCK
public static final Feature<DiskFeatureConfig> DISK
public static final Feature<IcePatchFeatureConfig> ICE_PATCH
public static final Feature<SingleStateFeatureConfig> LAKE
public static final Feature<OreFeatureConfig> ORE
public static final Feature<EndSpikeFeatureConfig> END_SPIKE
public static final Feature<DefaultFeatureConfig> END_ISLAND
public static final Feature<EndGatewayFeatureConfig> END_GATEWAY
public static final Feature<SeagrassFeatureConfig> SEAGRASS
public static final Feature<DefaultFeatureConfig> KELP
public static final Feature<DefaultFeatureConfig> CORAL_TREE
public static final Feature<DefaultFeatureConfig> CORAL_MUSHROOM
public static final Feature<DefaultFeatureConfig> CORAL_CLAW
public static final Feature<SeaPickleFeatureConfig> SEA_PICKLE
public static final Feature<SimpleBlockFeatureConfig> SIMPLE_BLOCK
public static final Feature<ProbabilityConfig> BAMBOO
public static final Feature<HugeFungusFeatureConfig> HUGE_FUNGUS
public static final Feature<BlockPileFeatureConfig> NETHER_FOREST_VEGETATION
public static final Feature<DefaultFeatureConfig> WEEPING_VINES
public static final Feature<DefaultFeatureConfig> TWISTING_VINES
public static final Feature<BasaltColumnsFeatureConfig> BASALT_COLUMNS
public static final Feature<DeltaFeatureConfig> DELTA_FEATURE
public static final Feature<NetherrackReplaceBlobsFeatureConfig> NETHERRACK_REPLACE_BLOBS
public static final Feature<FillLayerFeatureConfig> FILL_LAYER
public static final BonusChestFeature BONUS_CHEST
public static final Feature<DefaultFeatureConfig> BASALT_PILLAR
public static final Feature<OreFeatureConfig> NO_SURFACE_ORE
public static final Feature<RandomRandomFeatureConfig> RANDOM_RANDOM_SELECTOR
public static final Feature<RandomFeatureConfig> RANDOM_SELECTOR
public static final Feature<SimpleRandomFeatureConfig> SIMPLE_RANDOM_SELECTOR
public static final Feature<RandomBooleanFeatureConfig> RANDOM_BOOLEAN_SELECTOR
public static final Feature<DecoratedFeatureConfig> DECORATED
public static final Feature<DecoratedFeatureConfig> DECORATED_FLOWER
public static final BiMap<String,StructureFeature<?>> STRUCTURES
public static final List<StructureFeature<?>> JIGSAW_STRUCTURES
private final Function<com.mojang.datafixers.Dynamic<?>,? extends FC extends FeatureConfig> configDeserializer
private static <C extends FeatureConfig,F extends Feature<C>> F register(String name, F feature)
public ConfiguredFeature<FC,?> configure(FC config)
public FC deserializeConfig(com.mojang.datafixers.Dynamic<?> dynamic)
protected void setBlockState(ModifiableWorld world, BlockPos pos, BlockState state)
public abstract boolean generate(IWorld world, StructureAccessor accessor, ChunkGenerator<? extends ChunkGeneratorConfig> generator, Random random, BlockPos pos, FC config)
public List<Biome.SpawnEntry> getMonsterSpawns()
public List<Biome.SpawnEntry> getCreatureSpawns()
protected static boolean isStone(Block block)
protected static boolean isDirt(Block block)