Package net.minecraft.world.gen.feature
Class FlowersFeature<U extends IFeatureConfig>
- java.lang.Object
-
- net.minecraftforge.registries.ForgeRegistryEntry<Feature<?>>
-
- net.minecraft.world.gen.feature.Feature<U>
-
- net.minecraft.world.gen.feature.FlowersFeature<U>
-
- All Implemented Interfaces:
IForgeRegistryEntry<Feature<?>>
- Direct Known Subclasses:
DefaultFlowersFeature
public abstract class FlowersFeature<U extends IFeatureConfig> extends Feature<U>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraftforge.registries.ForgeRegistryEntry
ForgeRegistryEntry.UncheckedRegistryEntry<V extends IForgeRegistryEntry<V>>
-
-
Field Summary
-
Fields inherited from class net.minecraft.world.gen.feature.Feature
BAMBOO, BASALT_COLUMNS, BASALT_PILLAR, BLOCK_PILE, BLUE_ICE, BONUS_CHEST, CHORUS_PLANT, CORAL_CLAW, CORAL_MUSHROOM, CORAL_TREE, DECORATED, DELTA_FEATURE, DESERT_WELL, DISK, EMERALD_ORE, END_GATEWAY, END_ISLAND, END_SPIKE, FILL_LAYER, FLOWER, FOREST_ROCK, FOSSIL, FREEZE_TOP_LAYER, GLOWSTONE_BLOB, HUGE_BROWN_MUSHROOM, HUGE_FUNGUS, HUGE_RED_MUSHROOM, ICE_PATCH, ICE_SPIKE, ICEBERG, KELP, LAKE, MONSTER_ROOM, NETHER_FOREST_VEGETATION, NO_BONEMEAL_FLOWER, NO_OP, NO_SURFACE_ORE, ORE, RANDOM_BOOLEAN_SELECTOR, RANDOM_PATCH, RANDOM_SELECTOR, REPLACE_BLOBS, SEA_PICKLE, SEAGRASS, SIMPLE_BLOCK, SIMPLE_RANDOM_SELECTOR, SPRING, TREE, TWISTING_VINES, VINES, VOID_START_PLATFORM, WEEPING_VINES
-
Fields inherited from class net.minecraftforge.registries.ForgeRegistryEntry
delegate
-
-
Constructor Summary
Constructors Constructor Description FlowersFeature(com.mojang.serialization.Codec<U> p_i231922_1_)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract int
getCount(U p_225560_1_)
abstract BlockPos
getPos(java.util.Random p_225561_1_, BlockPos p_225561_2_, U p_225561_3_)
abstract BlockState
getRandomFlower(java.util.Random p_225562_1_, BlockPos p_225562_2_, U p_225562_3_)
abstract boolean
isValid(IWorld p_225559_1_, BlockPos p_225559_2_, U p_225559_3_)
boolean
place(ISeedReader p_241855_1_, ChunkGenerator p_241855_2_, java.util.Random p_241855_3_, BlockPos p_241855_4_, U p_241855_5_)
-
Methods inherited from class net.minecraft.world.gen.feature.Feature
configured, configuredCodec, isAir, isDirt, isGrassOrDirt, isStone, setBlock
-
Methods inherited from class net.minecraftforge.registries.ForgeRegistryEntry
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
-
-
-
-
Constructor Detail
-
FlowersFeature
public FlowersFeature(com.mojang.serialization.Codec<U> p_i231922_1_)
-
-
Method Detail
-
place
public boolean place(ISeedReader p_241855_1_, ChunkGenerator p_241855_2_, java.util.Random p_241855_3_, BlockPos p_241855_4_, U p_241855_5_)
- Specified by:
place
in classFeature<U extends IFeatureConfig>
-
getCount
public abstract int getCount(U p_225560_1_)
-
getPos
public abstract BlockPos getPos(java.util.Random p_225561_1_, BlockPos p_225561_2_, U p_225561_3_)
-
getRandomFlower
public abstract BlockState getRandomFlower(java.util.Random p_225562_1_, BlockPos p_225562_2_, U p_225562_3_)
-
-