public abstract class WorldFeatureQuarterSymmetrical
extends net.minecraft.world.gen.feature.Feature<net.minecraft.world.gen.feature.NoFeatureConfig>
| Modifier and Type | Class and Description |
|---|---|
class |
WorldFeatureQuarterSymmetrical.BlockWrapper
This is a wrapper class, which wraps around a
Block and
pairs with it the metadata for that specific blockState instance. |
static interface |
WorldFeatureQuarterSymmetrical.IBlockAction |
| Modifier and Type | Field and Description |
|---|---|
protected int |
quarterHeight |
protected int |
quarterWidth |
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| Constructor and Description |
|---|
WorldFeatureQuarterSymmetrical(java.util.function.Function<com.mojang.datafixers.Dynamic<?>,? extends net.minecraft.world.gen.feature.NoFeatureConfig> configFactoryIn,
int quarterWidth,
int quarterHeight) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addLayer(int height,
WorldFeatureQuarterSymmetrical.BlockWrapper[] layer) |
protected void |
buildCorner(net.minecraft.world.IWorld world,
net.minecraft.util.math.BlockPos blockPos,
int incX,
int incZ) |
protected abstract void |
generateLayers() |
boolean |
place(net.minecraft.world.IWorld world,
net.minecraft.world.gen.ChunkGenerator<? extends net.minecraft.world.gen.GenerationSettings> generator,
java.util.Random rand,
net.minecraft.util.math.BlockPos blockPos,
net.minecraft.world.gen.feature.NoFeatureConfig config) |
protected void |
postBuildCorner(net.minecraft.world.IWorld world,
net.minecraft.util.math.BlockPos pos,
int incX,
int incZ) |
createConfig, getCreatureSpawnList, getSpawnList, isDirt, isStone, setBlockState, withConfigurationpublic WorldFeatureQuarterSymmetrical(java.util.function.Function<com.mojang.datafixers.Dynamic<?>,? extends net.minecraft.world.gen.feature.NoFeatureConfig> configFactoryIn,
int quarterWidth,
int quarterHeight)
protected abstract void generateLayers()
protected void addLayer(int height,
WorldFeatureQuarterSymmetrical.BlockWrapper[] layer)
protected void buildCorner(net.minecraft.world.IWorld world,
net.minecraft.util.math.BlockPos blockPos,
int incX,
int incZ)
protected void postBuildCorner(net.minecraft.world.IWorld world,
net.minecraft.util.math.BlockPos pos,
int incX,
int incZ)
public boolean place(net.minecraft.world.IWorld world,
net.minecraft.world.gen.ChunkGenerator<? extends net.minecraft.world.gen.GenerationSettings> generator,
java.util.Random rand,
net.minecraft.util.math.BlockPos blockPos,
net.minecraft.world.gen.feature.NoFeatureConfig config)
place in class net.minecraft.world.gen.feature.Feature<net.minecraft.world.gen.feature.NoFeatureConfig>