Package net.minecraft.world.gen.feature
Class CoralFeature
java.lang.Object
net.minecraftforge.registries.ForgeRegistryEntry<Feature<?>>
net.minecraft.world.gen.feature.Feature<NoFeatureConfig>
net.minecraft.world.gen.feature.CoralFeature
- All Implemented Interfaces:
IForgeRegistryEntry<Feature<?>>
- Direct Known Subclasses:
CoralClawFeature
,CoralMushroomFeature
,CoralTreeFeature
-
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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
place
(ISeedReader p_241855_1_, ChunkGenerator p_241855_2_, Random p_241855_3_, BlockPos p_241855_4_, NoFeatureConfig p_241855_5_) protected boolean
placeCoralBlock
(IWorld p_204624_1_, Random p_204624_2_, BlockPos p_204624_3_, BlockState p_204624_4_) protected abstract boolean
placeFeature
(IWorld p_204623_1_, Random p_204623_2_, BlockPos p_204623_3_, BlockState p_204623_4_) 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 Details
-
CoralFeature
-
-
Method Details
-
place
public boolean place(ISeedReader p_241855_1_, ChunkGenerator p_241855_2_, Random p_241855_3_, BlockPos p_241855_4_, NoFeatureConfig p_241855_5_) - Specified by:
place
in classFeature<NoFeatureConfig>
-
placeFeature
protected abstract boolean placeFeature(IWorld p_204623_1_, Random p_204623_2_, BlockPos p_204623_3_, BlockState p_204623_4_) -
placeCoralBlock
protected boolean placeCoralBlock(IWorld p_204624_1_, Random p_204624_2_, BlockPos p_204624_3_, BlockState p_204624_4_)
-