Package net.minecraft.world.gen.feature
Class Feature<FC extends IFeatureConfig>
java.lang.Object
net.minecraftforge.registries.ForgeRegistryEntry<Feature<?>>
net.minecraft.world.gen.feature.Feature<FC>
- All Implemented Interfaces:
IForgeRegistryEntry<Feature<?>>
- Direct Known Subclasses:
AbstractBigMushroomFeature
,AbstractSphereReplaceConfig
,BambooFeature
,BasaltColumnFeature
,BasaltDeltasStructure
,BasaltPillarFeature
,BlockBlobFeature
,BlockPileFeature
,BlockWithContextFeature
,BlueIceFeature
,BonusChestFeature
,ChorusPlantFeature
,CoralFeature
,DecoratedFeature
,DesertWellsFeature
,DungeonsFeature
,EndGatewayFeature
,EndIslandFeature
,EndPodiumFeature
,EndSpikeFeature
,FillLayerFeature
,FlowersFeature
,FossilsFeature
,GlowstoneBlobFeature
,HugeFungusFeature
,IceAndSnowFeature
,IcebergFeature
,IceSpikeFeature
,KelpFeature
,LakesFeature
,MultipleWithChanceRandomFeature
,NetherackBlobReplacementStructure
,NetherVegetationFeature
,NoExposedOreFeature
,NoOpFeature
,OreFeature
,RandomPatchFeature
,ReplaceBlockFeature
,SeaGrassFeature
,SeaPickleFeature
,SingleRandomFeatureConfig
,SpringFeature
,TreeFeature
,TwistingVineFeature
,TwoFeatureChoiceFeature
,VinesFeature
,VoidStartPlatformFeature
,WeepingVineFeature
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.registries.ForgeRegistryEntry
ForgeRegistryEntry.UncheckedRegistryEntry<V extends IForgeRegistryEntry<V>>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Feature<ProbabilityConfig>
static final Feature<ColumnConfig>
static final Feature<NoFeatureConfig>
static final Feature<BlockStateProvidingFeatureConfig>
static final Feature<NoFeatureConfig>
static final BonusChestFeature
static final Feature<NoFeatureConfig>
private final com.mojang.serialization.Codec<ConfiguredFeature<FC,
Feature<FC>>> static final Feature<NoFeatureConfig>
static final Feature<NoFeatureConfig>
static final Feature<NoFeatureConfig>
static final Feature<DecoratedFeatureConfig>
static final Feature<BasaltDeltasFeature>
static final Feature<NoFeatureConfig>
static final Feature<SphereReplaceConfig>
static final Feature<ReplaceBlockConfig>
static final Feature<EndGatewayConfig>
static final Feature<NoFeatureConfig>
static final Feature<EndSpikeFeatureConfig>
static final Feature<FillLayerConfig>
static final FlowersFeature<BlockClusterFeatureConfig>
static final Feature<BlockStateFeatureConfig>
static final Feature<NoFeatureConfig>
static final Feature<NoFeatureConfig>
static final Feature<NoFeatureConfig>
static final Feature<BigMushroomFeatureConfig>
static final Feature<HugeFungusConfig>
static final Feature<BigMushroomFeatureConfig>
static final Feature<SphereReplaceConfig>
static final Feature<NoFeatureConfig>
static final Feature<BlockStateFeatureConfig>
static final Feature<NoFeatureConfig>
static final Feature<BlockStateFeatureConfig>
static final Feature<NoFeatureConfig>
static final Feature<BlockStateProvidingFeatureConfig>
static final FlowersFeature<BlockClusterFeatureConfig>
static final Feature<NoFeatureConfig>
static final Feature<OreFeatureConfig>
static final Feature<OreFeatureConfig>
static final Feature<TwoFeatureChoiceConfig>
static final Feature<BlockClusterFeatureConfig>
static final Feature<MultipleRandomFeatureConfig>
static final Feature<BlobReplacementConfig>
static final Feature<FeatureSpreadConfig>
static final SeaGrassFeature
static final Feature<BlockWithContextConfig>
static final Feature<SingleRandomFeature>
static final Feature<LiquidsConfig>
static final Feature<BaseTreeFeatureConfig>
static final Feature<NoFeatureConfig>
static final Feature<NoFeatureConfig>
static final Feature<NoFeatureConfig>
static final Feature<NoFeatureConfig>
Fields inherited from class net.minecraftforge.registries.ForgeRegistryEntry
delegate
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconfigured
(FC p_225566_1_) com.mojang.serialization.Codec<ConfiguredFeature<FC,
Feature<FC>>> static boolean
isAir
(IWorldGenerationBaseReader p_236297_0_, BlockPos p_236297_1_) static boolean
static boolean
isGrassOrDirt
(IWorldGenerationBaseReader p_236293_0_, BlockPos p_236293_1_) protected static boolean
abstract boolean
place
(ISeedReader p_241855_1_, ChunkGenerator p_241855_2_, Random p_241855_3_, BlockPos p_241855_4_, FC p_241855_5_) private static <C extends IFeatureConfig,
F extends Feature<C>>
Fprotected void
setBlock
(IWorldWriter p_230367_1_, BlockPos p_230367_2_, BlockState p_230367_3_) Methods inherited from class net.minecraftforge.registries.ForgeRegistryEntry
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
-
Field Details
-
NO_OP
-
TREE
-
FLOWER
-
NO_BONEMEAL_FLOWER
-
RANDOM_PATCH
-
BLOCK_PILE
-
SPRING
-
CHORUS_PLANT
-
EMERALD_ORE
-
VOID_START_PLATFORM
-
DESERT_WELL
-
FOSSIL
-
HUGE_RED_MUSHROOM
-
HUGE_BROWN_MUSHROOM
-
ICE_SPIKE
-
GLOWSTONE_BLOB
-
FREEZE_TOP_LAYER
-
VINES
-
MONSTER_ROOM
-
BLUE_ICE
-
ICEBERG
-
FOREST_ROCK
-
DISK
-
ICE_PATCH
-
LAKE
-
ORE
-
END_SPIKE
-
END_ISLAND
-
END_GATEWAY
-
SEAGRASS
-
KELP
-
CORAL_TREE
-
CORAL_MUSHROOM
-
CORAL_CLAW
-
SEA_PICKLE
-
SIMPLE_BLOCK
-
BAMBOO
-
HUGE_FUNGUS
-
NETHER_FOREST_VEGETATION
-
WEEPING_VINES
-
TWISTING_VINES
-
BASALT_COLUMNS
-
DELTA_FEATURE
-
REPLACE_BLOBS
-
FILL_LAYER
-
BONUS_CHEST
-
BASALT_PILLAR
-
NO_SURFACE_ORE
-
RANDOM_SELECTOR
-
SIMPLE_RANDOM_SELECTOR
-
RANDOM_BOOLEAN_SELECTOR
-
DECORATED
-
configuredCodec
private final com.mojang.serialization.Codec<ConfiguredFeature<FC extends IFeatureConfig,Feature<FC extends IFeatureConfig>>> configuredCodec
-
-
Constructor Details
-
Feature
-
-
Method Details
-
register
private static <C extends IFeatureConfig,F extends Feature<C>> F register(String p_214468_0_, F p_214468_1_) -
configuredCodec
-
configured
-
setBlock
-
place
public abstract boolean place(ISeedReader p_241855_1_, ChunkGenerator p_241855_2_, Random p_241855_3_, BlockPos p_241855_4_, FC p_241855_5_) -
isStone
-
isDirt
-
isGrassOrDirt
-
isAir
-