Package net.minecraft.world.gen.feature
Class BasaltColumnFeature
- java.lang.Object
-
- net.minecraftforge.registries.ForgeRegistryEntry<Feature<?>>
-
- net.minecraft.world.gen.feature.Feature<ColumnConfig>
-
- net.minecraft.world.gen.feature.BasaltColumnFeature
-
- All Implemented Interfaces:
IForgeRegistryEntry<Feature<?>>
public class BasaltColumnFeature extends Feature<ColumnConfig>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minecraftforge.registries.ForgeRegistryEntry
ForgeRegistryEntry.UncheckedRegistryEntry<V extends IForgeRegistryEntry<V>>
-
-
Field Summary
Fields Modifier and Type Field Description private static com.google.common.collect.ImmutableList<Block>
CANNOT_PLACE_ON
-
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 BasaltColumnFeature(com.mojang.serialization.Codec<ColumnConfig> p_i231925_1_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private static boolean
canPlaceAt(IWorld p_242762_0_, int p_242762_1_, BlockPos.Mutable p_242762_2_)
private static BlockPos
findAir(IWorld p_236249_0_, BlockPos.Mutable p_236249_1_, int p_236249_2_)
private static BlockPos
findSurface(IWorld p_236246_0_, int p_236246_1_, BlockPos.Mutable p_236246_2_, int p_236246_3_)
private static boolean
isAirOrLavaOcean(IWorld p_236247_0_, int p_236247_1_, BlockPos p_236247_2_)
boolean
place(ISeedReader p_241855_1_, ChunkGenerator p_241855_2_, java.util.Random p_241855_3_, BlockPos p_241855_4_, ColumnConfig p_241855_5_)
private boolean
placeColumn(IWorld p_236248_1_, int p_236248_2_, BlockPos p_236248_3_, int p_236248_4_, int p_236248_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
-
-
-
-
Field Detail
-
CANNOT_PLACE_ON
private static final com.google.common.collect.ImmutableList<Block> CANNOT_PLACE_ON
-
-
Constructor Detail
-
BasaltColumnFeature
public BasaltColumnFeature(com.mojang.serialization.Codec<ColumnConfig> p_i231925_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_, ColumnConfig p_241855_5_)
- Specified by:
place
in classFeature<ColumnConfig>
-
placeColumn
private boolean placeColumn(IWorld p_236248_1_, int p_236248_2_, BlockPos p_236248_3_, int p_236248_4_, int p_236248_5_)
-
findSurface
@Nullable private static BlockPos findSurface(IWorld p_236246_0_, int p_236246_1_, BlockPos.Mutable p_236246_2_, int p_236246_3_)
-
canPlaceAt
private static boolean canPlaceAt(IWorld p_242762_0_, int p_242762_1_, BlockPos.Mutable p_242762_2_)
-
findAir
@Nullable private static BlockPos findAir(IWorld p_236249_0_, BlockPos.Mutable p_236249_1_, int p_236249_2_)
-
-