public class VillageStructure extends Structure<VillageConfig>
Modifier and Type | Class and Description |
---|---|
static class |
VillageStructure.Start |
Structure.IStartFactory
BAMBOO, BIRCH_TREE, BLUE_ICE, BONUS_CHEST, BURIED_TREASURE, BUSH, CACTUS, CHORUS_PLANT, CORAL_CLAW, CORAL_MUSHROOM, CORAL_TREE, DARK_OAK_TREE, DEAD_BUSH, DECORATED, DECORATED_FLOWER, DEFAULT_FLOWER, DESERT_PYRAMID, DESERT_WELL, DISK, doBlockNotify, DOUBLE_PLANT, EMERALD_ORE, END_CITY, END_GATEWAY, END_ISLAND, END_SPIKE, FANCY_TREE, field_214488_aQ, FILL_LAYER, FOREST_FLOWER, FOREST_ROCK, FOSSIL, FREEZE_TOP_LAYER, GENERAL_FOREST_FLOWER, GLOWSTONE_BLOB, GRASS, HAY_PILE, HELL_FIRE, HUGE_BROWN_MUSHROOM, HUGE_RED_MUSHROOM, ICE_PATCH, ICE_PILE, ICE_SPIKE, ICEBERG, IGLOO, JUNGLE_GRASS, JUNGLE_GROUND_BUSH, JUNGLE_TEMPLE, JUNGLE_TREE, KELP, LAKE, MEGA_JUNGLE_TREE, MEGA_PINE_TREE, MEGA_SPRUCE_TREE, MELON, MELON_PILE, MINESHAFT, MONSTER_ROOM, NETHER_BRIDGE, NETHER_SPRING, NORMAL_TREE, OCEAN_MONUMENT, OCEAN_RUIN, ORE, PILLAGER_OUTPOST, PINE_TREE, PLAIN_FLOWER, PUMPKIN, PUMPKIN_PILE, RANDOM_BOOLEAN_SELECTOR, RANDOM_RANDOM_SELECTOR, RANDOM_SELECTOR, REED, SAVANNA_TREE, SEA_PICKLE, SEAGRASS, SHIPWRECK, SIMPLE_BLOCK, SIMPLE_RANDOM_SELECTOR, SNOW_PILE, SPRING_FEATURE, SPRUCE_TREE, STRONGHOLD, STRUCTURES, SUPER_BIRCH_TREE, SWAMP_FLOWER, SWAMP_HUT, SWAMP_TREE, SWEET_BERRY_BUSH, TAIGA_GRASS, VILLAGE, VINES, VOID_START_PLATFORM, WATERLILY, WOODLAND_MANSION
delegate
Constructor and Description |
---|
VillageStructure(java.util.function.Function<com.mojang.datafixers.Dynamic<?>,? extends VillageConfig> p_i51419_1_) |
Modifier and Type | Method and Description |
---|---|
int |
getSize() |
Structure.IStartFactory |
getStartFactory() |
protected ChunkPos |
getStartPositionForPosition(ChunkGenerator<?> chunkGenerator,
java.util.Random random,
int x,
int z,
int spacingOffsetsX,
int spacingOffsetsZ) |
java.lang.String |
getStructureName() |
boolean |
hasStartAt(ChunkGenerator<?> chunkGen,
java.util.Random rand,
int chunkPosX,
int chunkPosZ) |
findNearest, getStart, isPositionInsideStructure, isPositionInStructure, place
createConfig, getCreatureSpawnList, getSpawnList, setBlockState
getRegistryName, getRegistryType, setRegistryName, setRegistryName, setRegistryName
public VillageStructure(java.util.function.Function<com.mojang.datafixers.Dynamic<?>,? extends VillageConfig> p_i51419_1_)
protected ChunkPos getStartPositionForPosition(ChunkGenerator<?> chunkGenerator, java.util.Random random, int x, int z, int spacingOffsetsX, int spacingOffsetsZ)
getStartPositionForPosition
in class Structure<VillageConfig>
public boolean hasStartAt(ChunkGenerator<?> chunkGen, java.util.Random rand, int chunkPosX, int chunkPosZ)
hasStartAt
in class Structure<VillageConfig>
public Structure.IStartFactory getStartFactory()
getStartFactory
in class Structure<VillageConfig>
public java.lang.String getStructureName()
getStructureName
in class Structure<VillageConfig>
public int getSize()
getSize
in class Structure<VillageConfig>