public abstract class Feature<FC extends IFeatureConfig> extends ForgeRegistryEntry<Feature<?>>
delegate
Constructor and Description |
---|
Feature(java.util.function.Function<com.mojang.datafixers.Dynamic<?>,? extends FC> configFactoryIn) |
Modifier and Type | Method and Description |
---|---|
FC |
createConfig(com.mojang.datafixers.Dynamic<?> p_214470_1_) |
java.util.List<Biome.SpawnListEntry> |
getCreatureSpawnList() |
java.util.List<Biome.SpawnListEntry> |
getSpawnList() |
protected static boolean |
isDirt(Block blockIn) |
protected static boolean |
isStone(Block blockIn) |
abstract boolean |
place(IWorld worldIn,
ChunkGenerator<? extends GenerationSettings> generator,
java.util.Random rand,
BlockPos pos,
FC config) |
private static <C extends IFeatureConfig,F extends Feature<C>> |
register(java.lang.String key,
F value) |
protected void |
setBlockState(IWorldWriter worldIn,
BlockPos pos,
BlockState state) |
ConfiguredFeature<FC,?> |
withConfiguration(FC p_225566_1_) |
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
public static final Structure<NoFeatureConfig> PILLAGER_OUTPOST
public static final Structure<MineshaftConfig> MINESHAFT
public static final Structure<NoFeatureConfig> WOODLAND_MANSION
public static final Structure<NoFeatureConfig> JUNGLE_TEMPLE
public static final Structure<NoFeatureConfig> DESERT_PYRAMID
public static final Structure<NoFeatureConfig> IGLOO
public static final Structure<ShipwreckConfig> SHIPWRECK
public static final SwampHutStructure SWAMP_HUT
public static final Structure<NoFeatureConfig> STRONGHOLD
public static final Structure<NoFeatureConfig> OCEAN_MONUMENT
public static final Structure<OceanRuinConfig> OCEAN_RUIN
public static final Structure<NoFeatureConfig> NETHER_BRIDGE
public static final Structure<NoFeatureConfig> END_CITY
public static final Structure<BuriedTreasureConfig> BURIED_TREASURE
public static final Structure<VillageConfig> VILLAGE
public static final Feature<NoFeatureConfig> NO_OP
public static final Feature<TreeFeatureConfig> NORMAL_TREE
public static final Feature<TreeFeatureConfig> ACACIA_TREE
public static final Feature<TreeFeatureConfig> FANCY_TREE
public static final Feature<BaseTreeFeatureConfig> JUNGLE_GROUND_BUSH
public static final Feature<HugeTreeFeatureConfig> DARK_OAK_TREE
public static final Feature<HugeTreeFeatureConfig> MEGA_JUNGLE_TREE
public static final Feature<HugeTreeFeatureConfig> MEGA_SPRUCE_TREE
public static final FlowersFeature<BlockClusterFeatureConfig> FLOWER
public static final Feature<BlockClusterFeatureConfig> RANDOM_PATCH
public static final Feature<BlockStateProvidingFeatureConfig> BLOCK_PILE
public static final Feature<LiquidsConfig> SPRING_FEATURE
public static final Feature<NoFeatureConfig> CHORUS_PLANT
public static final Feature<ReplaceBlockConfig> EMERALD_ORE
public static final Feature<NoFeatureConfig> VOID_START_PLATFORM
public static final Feature<NoFeatureConfig> DESERT_WELL
public static final Feature<NoFeatureConfig> FOSSIL
public static final Feature<BigMushroomFeatureConfig> HUGE_RED_MUSHROOM
public static final Feature<BigMushroomFeatureConfig> HUGE_BROWN_MUSHROOM
public static final Feature<NoFeatureConfig> ICE_SPIKE
public static final Feature<NoFeatureConfig> GLOWSTONE_BLOB
public static final Feature<NoFeatureConfig> FREEZE_TOP_LAYER
public static final Feature<NoFeatureConfig> VINES
public static final Feature<NoFeatureConfig> MONSTER_ROOM
public static final Feature<NoFeatureConfig> BLUE_ICE
public static final Feature<BlockStateFeatureConfig> ICEBERG
public static final Feature<BlockBlobConfig> FOREST_ROCK
public static final Feature<SphereReplaceConfig> DISK
public static final Feature<FeatureRadiusConfig> ICE_PATCH
public static final Feature<BlockStateFeatureConfig> LAKE
public static final Feature<OreFeatureConfig> ORE
public static final Feature<EndSpikeFeatureConfig> END_SPIKE
public static final Feature<NoFeatureConfig> END_ISLAND
public static final Feature<EndGatewayConfig> END_GATEWAY
public static final Feature<SeaGrassConfig> SEAGRASS
public static final Feature<NoFeatureConfig> KELP
public static final Feature<NoFeatureConfig> CORAL_TREE
public static final Feature<NoFeatureConfig> CORAL_MUSHROOM
public static final Feature<NoFeatureConfig> CORAL_CLAW
public static final Feature<CountConfig> SEA_PICKLE
public static final Feature<BlockWithContextConfig> SIMPLE_BLOCK
public static final Feature<ProbabilityConfig> BAMBOO
public static final Feature<FillLayerConfig> FILL_LAYER
public static final BonusChestFeature BONUS_CHEST
public static final Feature<MultipleWithChanceRandomFeatureConfig> RANDOM_RANDOM_SELECTOR
public static final Feature<MultipleRandomFeatureConfig> RANDOM_SELECTOR
public static final Feature<SingleRandomFeature> SIMPLE_RANDOM_SELECTOR
public static final Feature<TwoFeatureChoiceConfig> RANDOM_BOOLEAN_SELECTOR
public static final Feature<DecoratedFeatureConfig> DECORATED
public static final Feature<DecoratedFeatureConfig> DECORATED_FLOWER
public static final com.google.common.collect.BiMap<java.lang.String,Structure<?>> STRUCTURES
public static final java.util.List<Structure<?>> ILLAGER_STRUCTURES
private final java.util.function.Function<com.mojang.datafixers.Dynamic<?>,? extends FC extends IFeatureConfig> configFactory
public Feature(java.util.function.Function<com.mojang.datafixers.Dynamic<?>,? extends FC> configFactoryIn)
private static <C extends IFeatureConfig,F extends Feature<C>> F register(java.lang.String key, F value)
public ConfiguredFeature<FC,?> withConfiguration(FC p_225566_1_)
public FC createConfig(com.mojang.datafixers.Dynamic<?> p_214470_1_)
protected void setBlockState(IWorldWriter worldIn, BlockPos pos, BlockState state)
public abstract boolean place(IWorld worldIn, ChunkGenerator<? extends GenerationSettings> generator, java.util.Random rand, BlockPos pos, FC config)
public java.util.List<Biome.SpawnListEntry> getSpawnList()
public java.util.List<Biome.SpawnListEntry> getCreatureSpawnList()
protected static boolean isStone(Block blockIn)
protected static boolean isDirt(Block blockIn)