Package net.minecraft.world.gen.feature
Class DefaultFlowersFeature
- java.lang.Object
-
- net.minecraftforge.registries.ForgeRegistryEntry<Feature<?>>
-
- net.minecraft.world.gen.feature.Feature<U>
-
- net.minecraft.world.gen.feature.FlowersFeature<BlockClusterFeatureConfig>
-
- net.minecraft.world.gen.feature.DefaultFlowersFeature
-
- All Implemented Interfaces:
IForgeRegistryEntry<Feature<?>>
public class DefaultFlowersFeature extends FlowersFeature<BlockClusterFeatureConfig>
-
-
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 DefaultFlowersFeature(com.mojang.serialization.Codec<BlockClusterFeatureConfig> p_i231945_1_)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCount(BlockClusterFeatureConfig p_225560_1_)
BlockPos
getPos(java.util.Random p_225561_1_, BlockPos p_225561_2_, BlockClusterFeatureConfig p_225561_3_)
BlockState
getRandomFlower(java.util.Random p_225562_1_, BlockPos p_225562_2_, BlockClusterFeatureConfig p_225562_3_)
boolean
isValid(IWorld p_225559_1_, BlockPos p_225559_2_, BlockClusterFeatureConfig p_225559_3_)
-
Methods inherited from class net.minecraft.world.gen.feature.FlowersFeature
place
-
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
-
DefaultFlowersFeature
public DefaultFlowersFeature(com.mojang.serialization.Codec<BlockClusterFeatureConfig> p_i231945_1_)
-
-
Method Detail
-
isValid
public boolean isValid(IWorld p_225559_1_, BlockPos p_225559_2_, BlockClusterFeatureConfig p_225559_3_)
- Specified by:
isValid
in classFlowersFeature<BlockClusterFeatureConfig>
-
getCount
public int getCount(BlockClusterFeatureConfig p_225560_1_)
- Specified by:
getCount
in classFlowersFeature<BlockClusterFeatureConfig>
-
getPos
public BlockPos getPos(java.util.Random p_225561_1_, BlockPos p_225561_2_, BlockClusterFeatureConfig p_225561_3_)
- Specified by:
getPos
in classFlowersFeature<BlockClusterFeatureConfig>
-
getRandomFlower
public BlockState getRandomFlower(java.util.Random p_225562_1_, BlockPos p_225562_2_, BlockClusterFeatureConfig p_225562_3_)
- Specified by:
getRandomFlower
in classFlowersFeature<BlockClusterFeatureConfig>
-
-