Package net.minecraft.world.gen.feature
Class HugeFungusFeature
- java.lang.Object
-
- net.minecraftforge.registries.ForgeRegistryEntry<Feature<?>>
-
- net.minecraft.world.gen.feature.Feature<HugeFungusConfig>
-
- net.minecraft.world.gen.feature.HugeFungusFeature
-
- All Implemented Interfaces:
IForgeRegistryEntry<Feature<?>>
public class HugeFungusFeature extends Feature<HugeFungusConfig>
-
-
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 HugeFungusFeature(com.mojang.serialization.Codec<HugeFungusConfig> p_i231959_1_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static boolean
isReplaceable(IWorld p_236315_0_, BlockPos p_236315_1_, boolean p_236315_2_)
boolean
place(ISeedReader p_241855_1_, ChunkGenerator p_241855_2_, java.util.Random p_241855_3_, BlockPos p_241855_4_, HugeFungusConfig p_241855_5_)
private void
placeHat(IWorld p_236321_1_, java.util.Random p_236321_2_, HugeFungusConfig p_236321_3_, BlockPos p_236321_4_, int p_236321_5_, boolean p_236321_6_)
private void
placeHatBlock(IWorld p_236316_1_, java.util.Random p_236316_2_, HugeFungusConfig p_236316_3_, BlockPos.Mutable p_236316_4_, float p_236316_5_, float p_236316_6_, float p_236316_7_)
private void
placeHatDropBlock(IWorld p_236318_1_, java.util.Random p_236318_2_, BlockPos p_236318_3_, BlockState p_236318_4_, boolean p_236318_5_)
private void
placeStem(IWorld p_236317_1_, java.util.Random p_236317_2_, HugeFungusConfig p_236317_3_, BlockPos p_236317_4_, int p_236317_5_, boolean p_236317_6_)
private static void
tryPlaceWeepingVines(BlockPos p_236319_0_, IWorld p_236319_1_, java.util.Random p_236319_2_)
-
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
-
HugeFungusFeature
public HugeFungusFeature(com.mojang.serialization.Codec<HugeFungusConfig> p_i231959_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_, HugeFungusConfig p_241855_5_)
- Specified by:
place
in classFeature<HugeFungusConfig>
-
isReplaceable
private static boolean isReplaceable(IWorld p_236315_0_, BlockPos p_236315_1_, boolean p_236315_2_)
-
placeStem
private void placeStem(IWorld p_236317_1_, java.util.Random p_236317_2_, HugeFungusConfig p_236317_3_, BlockPos p_236317_4_, int p_236317_5_, boolean p_236317_6_)
-
placeHat
private void placeHat(IWorld p_236321_1_, java.util.Random p_236321_2_, HugeFungusConfig p_236321_3_, BlockPos p_236321_4_, int p_236321_5_, boolean p_236321_6_)
-
placeHatBlock
private void placeHatBlock(IWorld p_236316_1_, java.util.Random p_236316_2_, HugeFungusConfig p_236316_3_, BlockPos.Mutable p_236316_4_, float p_236316_5_, float p_236316_6_, float p_236316_7_)
-
placeHatDropBlock
private void placeHatDropBlock(IWorld p_236318_1_, java.util.Random p_236318_2_, BlockPos p_236318_3_, BlockState p_236318_4_, boolean p_236318_5_)
-
-