public class FancyTreeFeature extends AbstractTreeFeature<TreeFeatureConfig>
Modifier and Type | Class and Description |
---|---|
(package private) static class |
FancyTreeFeature.ExtendedPos |
ACACIA_TREE, BAMBOO, BLOCK_PILE, BLUE_ICE, BONUS_CHEST, BURIED_TREASURE, CHORUS_PLANT, CORAL_CLAW, CORAL_MUSHROOM, CORAL_TREE, DARK_OAK_TREE, DECORATED, DECORATED_FLOWER, DESERT_PYRAMID, DESERT_WELL, DISK, EMERALD_ORE, END_CITY, END_GATEWAY, END_ISLAND, END_SPIKE, FANCY_TREE, FILL_LAYER, FLOWER, FOREST_ROCK, FOSSIL, FREEZE_TOP_LAYER, GLOWSTONE_BLOB, HUGE_BROWN_MUSHROOM, HUGE_RED_MUSHROOM, ICE_PATCH, ICE_SPIKE, ICEBERG, IGLOO, ILLAGER_STRUCTURES, JUNGLE_GROUND_BUSH, JUNGLE_TEMPLE, KELP, LAKE, MEGA_JUNGLE_TREE, MEGA_SPRUCE_TREE, MINESHAFT, MONSTER_ROOM, NETHER_BRIDGE, NO_OP, NORMAL_TREE, OCEAN_MONUMENT, OCEAN_RUIN, ORE, PILLAGER_OUTPOST, RANDOM_BOOLEAN_SELECTOR, RANDOM_PATCH, RANDOM_RANDOM_SELECTOR, RANDOM_SELECTOR, SEA_PICKLE, SEAGRASS, SHIPWRECK, SIMPLE_BLOCK, SIMPLE_RANDOM_SELECTOR, SPRING_FEATURE, STRONGHOLD, STRUCTURES, SWAMP_HUT, VILLAGE, VINES, VOID_START_PLATFORM, WOODLAND_MANSION
delegate
Constructor and Description |
---|
FancyTreeFeature(java.util.function.Function<com.mojang.datafixers.Dynamic<?>,? extends TreeFeatureConfig> p_i225803_1_) |
Modifier and Type | Method and Description |
---|---|
private float |
func_227230_a_(int p_227230_1_) |
private float |
func_227231_a_(int p_227231_1_,
int p_227231_2_) |
private void |
func_227232_a_(IWorldGenerationReader p_227232_1_,
java.util.Random p_227232_2_,
int p_227232_3_,
BlockPos p_227232_4_,
java.util.List<FancyTreeFeature.ExtendedPos> p_227232_5_,
java.util.Set<BlockPos> p_227232_6_,
MutableBoundingBox p_227232_7_,
TreeFeatureConfig p_227232_8_) |
private void |
func_227233_a_(IWorldGenerationReader p_227233_1_,
java.util.Random p_227233_2_,
BlockPos p_227233_3_,
float p_227233_4_,
java.util.Set<BlockPos> p_227233_5_,
MutableBoundingBox p_227233_6_,
TreeFeatureConfig p_227233_7_) |
private void |
func_227234_a_(IWorldGenerationReader p_227234_1_,
java.util.Random p_227234_2_,
BlockPos p_227234_3_,
int p_227234_4_,
java.util.Set<BlockPos> p_227234_5_,
MutableBoundingBox p_227234_6_,
TreeFeatureConfig p_227234_7_) |
private int |
func_227235_a_(IWorldGenerationReader p_227235_1_,
java.util.Random p_227235_2_,
BlockPos p_227235_3_,
BlockPos p_227235_4_,
boolean p_227235_5_,
java.util.Set<BlockPos> p_227235_6_,
MutableBoundingBox p_227235_7_,
TreeFeatureConfig p_227235_8_) |
private void |
func_227236_a_(IWorldGenerationReader p_227236_1_,
java.util.Random p_227236_2_,
BlockPos p_227236_3_,
java.util.Set<BlockPos> p_227236_4_,
MutableBoundingBox p_227236_5_,
TreeFeatureConfig p_227236_6_) |
private int |
func_227237_a_(BlockPos p_227237_1_) |
private Direction.Axis |
func_227238_a_(BlockPos p_227238_1_,
BlockPos p_227238_2_) |
private boolean |
func_227239_b_(int p_227239_1_,
int p_227239_2_) |
private void |
func_227240_b_(IWorldGenerationReader p_227240_1_,
java.util.Random p_227240_2_,
int p_227240_3_,
BlockPos p_227240_4_,
java.util.List<FancyTreeFeature.ExtendedPos> p_227240_5_,
java.util.Set<BlockPos> p_227240_6_,
MutableBoundingBox p_227240_7_,
TreeFeatureConfig p_227240_8_) |
private int |
func_227241_b_(IWorldGenerationReader p_227241_1_,
java.util.Random p_227241_2_,
BlockPos p_227241_3_,
int p_227241_4_,
java.util.Set<BlockPos> p_227241_5_,
MutableBoundingBox p_227241_6_,
TreeFeatureConfig p_227241_7_) |
boolean |
place(IWorldGenerationReader generationReader,
java.util.Random rand,
BlockPos positionIn,
java.util.Set<BlockPos> p_225557_4_,
java.util.Set<BlockPos> p_225557_5_,
MutableBoundingBox boundingBoxIn,
TreeFeatureConfig configIn) |
canBeReplacedByLogs, func_227216_a_, func_227217_a_, func_227219_b_, isAir, isAirOrLeaves, isDirt, isDirtOrGrassBlock, isDirtOrGrassBlockOrFarmland, isSoil, isSoilOrFarm, isTallPlants, isVine, isWater, place, setBlockState, setDirt, setDirtAt
createConfig, getCreatureSpawnList, getSpawnList, isDirt, isStone, withConfiguration
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
public FancyTreeFeature(java.util.function.Function<com.mojang.datafixers.Dynamic<?>,? extends TreeFeatureConfig> p_i225803_1_)
private void func_227233_a_(IWorldGenerationReader p_227233_1_, java.util.Random p_227233_2_, BlockPos p_227233_3_, float p_227233_4_, java.util.Set<BlockPos> p_227233_5_, MutableBoundingBox p_227233_6_, TreeFeatureConfig p_227233_7_)
private float func_227231_a_(int p_227231_1_, int p_227231_2_)
private float func_227230_a_(int p_227230_1_)
private void func_227236_a_(IWorldGenerationReader p_227236_1_, java.util.Random p_227236_2_, BlockPos p_227236_3_, java.util.Set<BlockPos> p_227236_4_, MutableBoundingBox p_227236_5_, TreeFeatureConfig p_227236_6_)
private int func_227235_a_(IWorldGenerationReader p_227235_1_, java.util.Random p_227235_2_, BlockPos p_227235_3_, BlockPos p_227235_4_, boolean p_227235_5_, java.util.Set<BlockPos> p_227235_6_, MutableBoundingBox p_227235_7_, TreeFeatureConfig p_227235_8_)
private int func_227237_a_(BlockPos p_227237_1_)
private Direction.Axis func_227238_a_(BlockPos p_227238_1_, BlockPos p_227238_2_)
private void func_227232_a_(IWorldGenerationReader p_227232_1_, java.util.Random p_227232_2_, int p_227232_3_, BlockPos p_227232_4_, java.util.List<FancyTreeFeature.ExtendedPos> p_227232_5_, java.util.Set<BlockPos> p_227232_6_, MutableBoundingBox p_227232_7_, TreeFeatureConfig p_227232_8_)
private boolean func_227239_b_(int p_227239_1_, int p_227239_2_)
private void func_227234_a_(IWorldGenerationReader p_227234_1_, java.util.Random p_227234_2_, BlockPos p_227234_3_, int p_227234_4_, java.util.Set<BlockPos> p_227234_5_, MutableBoundingBox p_227234_6_, TreeFeatureConfig p_227234_7_)
private void func_227240_b_(IWorldGenerationReader p_227240_1_, java.util.Random p_227240_2_, int p_227240_3_, BlockPos p_227240_4_, java.util.List<FancyTreeFeature.ExtendedPos> p_227240_5_, java.util.Set<BlockPos> p_227240_6_, MutableBoundingBox p_227240_7_, TreeFeatureConfig p_227240_8_)
public boolean place(IWorldGenerationReader generationReader, java.util.Random rand, BlockPos positionIn, java.util.Set<BlockPos> p_225557_4_, java.util.Set<BlockPos> p_225557_5_, MutableBoundingBox boundingBoxIn, TreeFeatureConfig configIn)
place
in class AbstractTreeFeature<TreeFeatureConfig>
private int func_227241_b_(IWorldGenerationReader p_227241_1_, java.util.Random p_227241_2_, BlockPos p_227241_3_, int p_227241_4_, java.util.Set<BlockPos> p_227241_5_, MutableBoundingBox p_227241_6_, TreeFeatureConfig p_227241_7_)