66 lines
24 KiB
Java
66 lines
24 KiB
Java
/*
|
|
* Decompiled with CFR 0.152.
|
|
*
|
|
* Could not load the following classes:
|
|
* com.google.common.collect.ImmutableList
|
|
* com.mojang.datafixers.util.Pair
|
|
*/
|
|
package net.minecraft.data.worldgen;
|
|
|
|
import com.google.common.collect.ImmutableList;
|
|
import com.mojang.datafixers.util.Pair;
|
|
import java.util.List;
|
|
import java.util.function.Function;
|
|
import net.minecraft.core.Holder;
|
|
import net.minecraft.core.HolderGetter;
|
|
import net.minecraft.core.registries.Registries;
|
|
import net.minecraft.data.worldgen.BootstrapContext;
|
|
import net.minecraft.data.worldgen.Pools;
|
|
import net.minecraft.data.worldgen.ProcessorLists;
|
|
import net.minecraft.data.worldgen.placement.VillagePlacements;
|
|
import net.minecraft.resources.ResourceKey;
|
|
import net.minecraft.world.level.levelgen.placement.PlacedFeature;
|
|
import net.minecraft.world.level.levelgen.structure.pools.StructurePoolElement;
|
|
import net.minecraft.world.level.levelgen.structure.pools.StructureTemplatePool;
|
|
import net.minecraft.world.level.levelgen.structure.templatesystem.StructureProcessorList;
|
|
|
|
public class PlainVillagePools {
|
|
public static final ResourceKey<StructureTemplatePool> START = Pools.createKey("village/plains/town_centers");
|
|
private static final ResourceKey<StructureTemplatePool> TERMINATORS_KEY = Pools.createKey("village/plains/terminators");
|
|
|
|
public static void bootstrap(BootstrapContext<StructureTemplatePool> context) {
|
|
HolderGetter<PlacedFeature> placedFeatures = context.lookup(Registries.PLACED_FEATURE);
|
|
Holder.Reference<PlacedFeature> oakVillage = placedFeatures.getOrThrow(VillagePlacements.OAK_VILLAGE);
|
|
Holder.Reference<PlacedFeature> flowerPlainVillage = placedFeatures.getOrThrow(VillagePlacements.FLOWER_PLAIN_VILLAGE);
|
|
Holder.Reference<PlacedFeature> pileHayVillage = placedFeatures.getOrThrow(VillagePlacements.PILE_HAY_VILLAGE);
|
|
HolderGetter<StructureProcessorList> processorLists = context.lookup(Registries.PROCESSOR_LIST);
|
|
Holder.Reference<StructureProcessorList> mossify10Percent = processorLists.getOrThrow(ProcessorLists.MOSSIFY_10_PERCENT);
|
|
Holder.Reference<StructureProcessorList> mossify20Percent = processorLists.getOrThrow(ProcessorLists.MOSSIFY_20_PERCENT);
|
|
Holder.Reference<StructureProcessorList> mossify70Percent = processorLists.getOrThrow(ProcessorLists.MOSSIFY_70_PERCENT);
|
|
Holder.Reference<StructureProcessorList> zombiePlains = processorLists.getOrThrow(ProcessorLists.ZOMBIE_PLAINS);
|
|
Holder.Reference<StructureProcessorList> streetPlains = processorLists.getOrThrow(ProcessorLists.STREET_PLAINS);
|
|
Holder.Reference<StructureProcessorList> farmPlains = processorLists.getOrThrow(ProcessorLists.FARM_PLAINS);
|
|
HolderGetter<StructureTemplatePool> pools = context.lookup(Registries.TEMPLATE_POOL);
|
|
Holder.Reference<StructureTemplatePool> empty = pools.getOrThrow(Pools.EMPTY);
|
|
Holder.Reference<StructureTemplatePool> terminators = pools.getOrThrow(TERMINATORS_KEY);
|
|
context.register(START, new StructureTemplatePool(empty, (List<Pair<Function<StructureTemplatePool.Projection, ? extends StructurePoolElement>, Integer>>)ImmutableList.of((Object)Pair.of(StructurePoolElement.legacy("village/plains/town_centers/plains_fountain_01", mossify20Percent), (Object)50), (Object)Pair.of(StructurePoolElement.legacy("village/plains/town_centers/plains_meeting_point_1", mossify20Percent), (Object)50), (Object)Pair.of(StructurePoolElement.legacy("village/plains/town_centers/plains_meeting_point_2"), (Object)50), (Object)Pair.of(StructurePoolElement.legacy("village/plains/town_centers/plains_meeting_point_3", mossify70Percent), (Object)50), (Object)Pair.of(StructurePoolElement.legacy("village/plains/zombie/town_centers/plains_fountain_01", zombiePlains), (Object)1), (Object)Pair.of(StructurePoolElement.legacy("village/plains/zombie/town_centers/plains_meeting_point_1", zombiePlains), (Object)1), (Object)Pair.of(StructurePoolElement.legacy("village/plains/zombie/town_centers/plains_meeting_point_2", zombiePlains), (Object)1), (Object)Pair.of(StructurePoolElement.legacy("village/plains/zombie/town_centers/plains_meeting_point_3", zombiePlains), (Object)1)), StructureTemplatePool.Projection.RIGID));
|
|
Pools.register(context, "village/plains/streets", new StructureTemplatePool(terminators, (List<Pair<Function<StructureTemplatePool.Projection, ? extends StructurePoolElement>, Integer>>)ImmutableList.of((Object)Pair.of(StructurePoolElement.legacy("village/plains/streets/corner_01", streetPlains), (Object)2), (Object)Pair.of(StructurePoolElement.legacy("village/plains/streets/corner_02", streetPlains), (Object)2), (Object)Pair.of(StructurePoolElement.legacy("village/plains/streets/corner_03", streetPlains), (Object)2), (Object)Pair.of(StructurePoolElement.legacy("village/plains/streets/straight_01", streetPlains), (Object)4), (Object)Pair.of(StructurePoolElement.legacy("village/plains/streets/straight_02", streetPlains), (Object)4), (Object)Pair.of(StructurePoolElement.legacy("village/plains/streets/straight_03", streetPlains), (Object)7), (Object)Pair.of(StructurePoolElement.legacy("village/plains/streets/straight_04", streetPlains), (Object)7), (Object)Pair.of(StructurePoolElement.legacy("village/plains/streets/straight_05", streetPlains), (Object)3), (Object)Pair.of(StructurePoolElement.legacy("village/plains/streets/straight_06", streetPlains), (Object)4), (Object)Pair.of(StructurePoolElement.legacy("village/plains/streets/crossroad_01", streetPlains), (Object)2), (Object)Pair.of(StructurePoolElement.legacy("village/plains/streets/crossroad_02", streetPlains), (Object)1), (Object)Pair.of(StructurePoolElement.legacy("village/plains/streets/crossroad_03", streetPlains), (Object)2), (Object[])new Pair[]{Pair.of(StructurePoolElement.legacy("village/plains/streets/crossroad_04", streetPlains), (Object)2), Pair.of(StructurePoolElement.legacy("village/plains/streets/crossroad_05", streetPlains), (Object)2), Pair.of(StructurePoolElement.legacy("village/plains/streets/crossroad_06", streetPlains), (Object)2), Pair.of(StructurePoolElement.legacy("village/plains/streets/turn_01", streetPlains), (Object)3)}), StructureTemplatePool.Projection.TERRAIN_MATCHING));
|
|
Pools.register(context, "village/plains/zombie/streets", new StructureTemplatePool(terminators, (List<Pair<Function<StructureTemplatePool.Projection, ? extends StructurePoolElement>, Integer>>)ImmutableList.of((Object)Pair.of(StructurePoolElement.legacy("village/plains/zombie/streets/corner_01", streetPlains), (Object)2), (Object)Pair.of(StructurePoolElement.legacy("village/plains/zombie/streets/corner_02", streetPlains), (Object)2), (Object)Pair.of(StructurePoolElement.legacy("village/plains/zombie/streets/corner_03", streetPlains), (Object)2), (Object)Pair.of(StructurePoolElement.legacy("village/plains/zombie/streets/straight_01", streetPlains), (Object)4), (Object)Pair.of(StructurePoolElement.legacy("village/plains/zombie/streets/straight_02", streetPlains), (Object)4), (Object)Pair.of(StructurePoolElement.legacy("village/plains/zombie/streets/straight_03", streetPlains), (Object)7), (Object)Pair.of(StructurePoolElement.legacy("village/plains/zombie/streets/straight_04", streetPlains), (Object)7), (Object)Pair.of(StructurePoolElement.legacy("village/plains/zombie/streets/straight_05", streetPlains), (Object)3), (Object)Pair.of(StructurePoolElement.legacy("village/plains/zombie/streets/straight_06", streetPlains), (Object)4), (Object)Pair.of(StructurePoolElement.legacy("village/plains/zombie/streets/crossroad_01", streetPlains), (Object)2), (Object)Pair.of(StructurePoolElement.legacy("village/plains/zombie/streets/crossroad_02", streetPlains), (Object)1), (Object)Pair.of(StructurePoolElement.legacy("village/plains/zombie/streets/crossroad_03", streetPlains), (Object)2), (Object[])new Pair[]{Pair.of(StructurePoolElement.legacy("village/plains/zombie/streets/crossroad_04", streetPlains), (Object)2), Pair.of(StructurePoolElement.legacy("village/plains/zombie/streets/crossroad_05", streetPlains), (Object)2), Pair.of(StructurePoolElement.legacy("village/plains/zombie/streets/crossroad_06", streetPlains), (Object)2), Pair.of(StructurePoolElement.legacy("village/plains/zombie/streets/turn_01", streetPlains), (Object)3)}), StructureTemplatePool.Projection.TERRAIN_MATCHING));
|
|
Pools.register(context, "village/plains/houses", new StructureTemplatePool(terminators, (List<Pair<Function<StructureTemplatePool.Projection, ? extends StructurePoolElement>, Integer>>)ImmutableList.of((Object)Pair.of(StructurePoolElement.legacy("village/plains/houses/plains_small_house_1", mossify10Percent), (Object)2), (Object)Pair.of(StructurePoolElement.legacy("village/plains/houses/plains_small_house_2", mossify10Percent), (Object)2), (Object)Pair.of(StructurePoolElement.legacy("village/plains/houses/plains_small_house_3", mossify10Percent), (Object)2), (Object)Pair.of(StructurePoolElement.legacy("village/plains/houses/plains_small_house_4", mossify10Percent), (Object)2), (Object)Pair.of(StructurePoolElement.legacy("village/plains/houses/plains_small_house_5", mossify10Percent), (Object)2), (Object)Pair.of(StructurePoolElement.legacy("village/plains/houses/plains_small_house_6", mossify10Percent), (Object)1), (Object)Pair.of(StructurePoolElement.legacy("village/plains/houses/plains_small_house_7", mossify10Percent), (Object)2), (Object)Pair.of(StructurePoolElement.legacy("village/plains/houses/plains_small_house_8", mossify10Percent), (Object)3), (Object)Pair.of(StructurePoolElement.legacy("village/plains/houses/plains_medium_house_1", mossify10Percent), (Object)2), (Object)Pair.of(StructurePoolElement.legacy("village/plains/houses/plains_medium_house_2", mossify10Percent), (Object)2), (Object)Pair.of(StructurePoolElement.legacy("village/plains/houses/plains_big_house_1", mossify10Percent), (Object)2), (Object)Pair.of(StructurePoolElement.legacy("village/plains/houses/plains_butcher_shop_1", mossify10Percent), (Object)2), (Object[])new Pair[]{Pair.of(StructurePoolElement.legacy("village/plains/houses/plains_butcher_shop_2", mossify10Percent), (Object)2), Pair.of(StructurePoolElement.legacy("village/plains/houses/plains_tool_smith_1", mossify10Percent), (Object)2), Pair.of(StructurePoolElement.legacy("village/plains/houses/plains_fletcher_house_1", mossify10Percent), (Object)2), Pair.of(StructurePoolElement.legacy("village/plains/houses/plains_shepherds_house_1"), (Object)2), Pair.of(StructurePoolElement.legacy("village/plains/houses/plains_armorer_house_1", mossify10Percent), (Object)2), Pair.of(StructurePoolElement.legacy("village/plains/houses/plains_fisher_cottage_1", mossify10Percent), (Object)2), Pair.of(StructurePoolElement.legacy("village/plains/houses/plains_tannery_1", mossify10Percent), (Object)2), Pair.of(StructurePoolElement.legacy("village/plains/houses/plains_cartographer_1", mossify10Percent), (Object)1), Pair.of(StructurePoolElement.legacy("village/plains/houses/plains_library_1", mossify10Percent), (Object)5), Pair.of(StructurePoolElement.legacy("village/plains/houses/plains_library_2", mossify10Percent), (Object)1), Pair.of(StructurePoolElement.legacy("village/plains/houses/plains_masons_house_1", mossify10Percent), (Object)2), Pair.of(StructurePoolElement.legacy("village/plains/houses/plains_weaponsmith_1", mossify10Percent), (Object)2), Pair.of(StructurePoolElement.legacy("village/plains/houses/plains_temple_3", mossify10Percent), (Object)2), Pair.of(StructurePoolElement.legacy("village/plains/houses/plains_temple_4", mossify10Percent), (Object)2), Pair.of(StructurePoolElement.legacy("village/plains/houses/plains_stable_1", mossify10Percent), (Object)2), Pair.of(StructurePoolElement.legacy("village/plains/houses/plains_stable_2"), (Object)2), Pair.of(StructurePoolElement.legacy("village/plains/houses/plains_large_farm_1", farmPlains), (Object)4), Pair.of(StructurePoolElement.legacy("village/plains/houses/plains_small_farm_1", farmPlains), (Object)4), Pair.of(StructurePoolElement.legacy("village/plains/houses/plains_animal_pen_1"), (Object)1), Pair.of(StructurePoolElement.legacy("village/plains/houses/plains_animal_pen_2"), (Object)1), Pair.of(StructurePoolElement.legacy("village/plains/houses/plains_animal_pen_3"), (Object)5), Pair.of(StructurePoolElement.legacy("village/plains/houses/plains_accessory_1"), (Object)1), Pair.of(StructurePoolElement.legacy("village/plains/houses/plains_meeting_point_4", mossify70Percent), (Object)3), Pair.of(StructurePoolElement.legacy("village/plains/houses/plains_meeting_point_5"), (Object)1), Pair.of(StructurePoolElement.empty(), (Object)10)}), StructureTemplatePool.Projection.RIGID));
|
|
Pools.register(context, "village/plains/zombie/houses", new StructureTemplatePool(terminators, (List<Pair<Function<StructureTemplatePool.Projection, ? extends StructurePoolElement>, Integer>>)ImmutableList.of((Object)Pair.of(StructurePoolElement.legacy("village/plains/zombie/houses/plains_small_house_1", zombiePlains), (Object)2), (Object)Pair.of(StructurePoolElement.legacy("village/plains/zombie/houses/plains_small_house_2", zombiePlains), (Object)2), (Object)Pair.of(StructurePoolElement.legacy("village/plains/zombie/houses/plains_small_house_3", zombiePlains), (Object)2), (Object)Pair.of(StructurePoolElement.legacy("village/plains/zombie/houses/plains_small_house_4", zombiePlains), (Object)2), (Object)Pair.of(StructurePoolElement.legacy("village/plains/zombie/houses/plains_small_house_5", zombiePlains), (Object)2), (Object)Pair.of(StructurePoolElement.legacy("village/plains/zombie/houses/plains_small_house_6", zombiePlains), (Object)1), (Object)Pair.of(StructurePoolElement.legacy("village/plains/zombie/houses/plains_small_house_7", zombiePlains), (Object)2), (Object)Pair.of(StructurePoolElement.legacy("village/plains/zombie/houses/plains_small_house_8", zombiePlains), (Object)2), (Object)Pair.of(StructurePoolElement.legacy("village/plains/zombie/houses/plains_medium_house_1", zombiePlains), (Object)2), (Object)Pair.of(StructurePoolElement.legacy("village/plains/zombie/houses/plains_medium_house_2", zombiePlains), (Object)2), (Object)Pair.of(StructurePoolElement.legacy("village/plains/zombie/houses/plains_big_house_1", zombiePlains), (Object)2), (Object)Pair.of(StructurePoolElement.legacy("village/plains/houses/plains_butcher_shop_1", zombiePlains), (Object)2), (Object[])new Pair[]{Pair.of(StructurePoolElement.legacy("village/plains/zombie/houses/plains_butcher_shop_2", zombiePlains), (Object)2), Pair.of(StructurePoolElement.legacy("village/plains/houses/plains_tool_smith_1", zombiePlains), (Object)2), Pair.of(StructurePoolElement.legacy("village/plains/zombie/houses/plains_fletcher_house_1", zombiePlains), (Object)2), Pair.of(StructurePoolElement.legacy("village/plains/zombie/houses/plains_shepherds_house_1", zombiePlains), (Object)2), Pair.of(StructurePoolElement.legacy("village/plains/houses/plains_armorer_house_1", zombiePlains), (Object)2), Pair.of(StructurePoolElement.legacy("village/plains/houses/plains_fisher_cottage_1", zombiePlains), (Object)2), Pair.of(StructurePoolElement.legacy("village/plains/houses/plains_tannery_1", zombiePlains), (Object)2), Pair.of(StructurePoolElement.legacy("village/plains/houses/plains_cartographer_1", zombiePlains), (Object)1), Pair.of(StructurePoolElement.legacy("village/plains/houses/plains_library_1", zombiePlains), (Object)3), Pair.of(StructurePoolElement.legacy("village/plains/houses/plains_library_2", zombiePlains), (Object)1), Pair.of(StructurePoolElement.legacy("village/plains/houses/plains_masons_house_1", zombiePlains), (Object)2), Pair.of(StructurePoolElement.legacy("village/plains/houses/plains_weaponsmith_1", zombiePlains), (Object)2), Pair.of(StructurePoolElement.legacy("village/plains/houses/plains_temple_3", zombiePlains), (Object)2), Pair.of(StructurePoolElement.legacy("village/plains/houses/plains_temple_4", zombiePlains), (Object)2), Pair.of(StructurePoolElement.legacy("village/plains/zombie/houses/plains_stable_1", zombiePlains), (Object)2), Pair.of(StructurePoolElement.legacy("village/plains/houses/plains_stable_2", zombiePlains), (Object)2), Pair.of(StructurePoolElement.legacy("village/plains/houses/plains_large_farm_1", zombiePlains), (Object)4), Pair.of(StructurePoolElement.legacy("village/plains/houses/plains_small_farm_1", zombiePlains), (Object)4), Pair.of(StructurePoolElement.legacy("village/plains/houses/plains_animal_pen_1", zombiePlains), (Object)1), Pair.of(StructurePoolElement.legacy("village/plains/houses/plains_animal_pen_2", zombiePlains), (Object)1), Pair.of(StructurePoolElement.legacy("village/plains/zombie/houses/plains_animal_pen_3", zombiePlains), (Object)5), Pair.of(StructurePoolElement.legacy("village/plains/zombie/houses/plains_meeting_point_4", zombiePlains), (Object)3), Pair.of(StructurePoolElement.legacy("village/plains/zombie/houses/plains_meeting_point_5", zombiePlains), (Object)1), Pair.of(StructurePoolElement.empty(), (Object)10)}), StructureTemplatePool.Projection.RIGID));
|
|
context.register(TERMINATORS_KEY, new StructureTemplatePool(empty, (List<Pair<Function<StructureTemplatePool.Projection, ? extends StructurePoolElement>, Integer>>)ImmutableList.of((Object)Pair.of(StructurePoolElement.legacy("village/plains/terminators/terminator_01", streetPlains), (Object)1), (Object)Pair.of(StructurePoolElement.legacy("village/plains/terminators/terminator_02", streetPlains), (Object)1), (Object)Pair.of(StructurePoolElement.legacy("village/plains/terminators/terminator_03", streetPlains), (Object)1), (Object)Pair.of(StructurePoolElement.legacy("village/plains/terminators/terminator_04", streetPlains), (Object)1)), StructureTemplatePool.Projection.TERRAIN_MATCHING));
|
|
Pools.register(context, "village/plains/trees", new StructureTemplatePool(empty, (List<Pair<Function<StructureTemplatePool.Projection, ? extends StructurePoolElement>, Integer>>)ImmutableList.of((Object)Pair.of(StructurePoolElement.feature(oakVillage), (Object)1)), StructureTemplatePool.Projection.RIGID));
|
|
Pools.register(context, "village/plains/decor", new StructureTemplatePool(empty, (List<Pair<Function<StructureTemplatePool.Projection, ? extends StructurePoolElement>, Integer>>)ImmutableList.of((Object)Pair.of(StructurePoolElement.legacy("village/plains/plains_lamp_1"), (Object)2), (Object)Pair.of(StructurePoolElement.feature(oakVillage), (Object)1), (Object)Pair.of(StructurePoolElement.feature(flowerPlainVillage), (Object)1), (Object)Pair.of(StructurePoolElement.feature(pileHayVillage), (Object)1), (Object)Pair.of(StructurePoolElement.empty(), (Object)2)), StructureTemplatePool.Projection.RIGID));
|
|
Pools.register(context, "village/plains/zombie/decor", new StructureTemplatePool(empty, (List<Pair<Function<StructureTemplatePool.Projection, ? extends StructurePoolElement>, Integer>>)ImmutableList.of((Object)Pair.of(StructurePoolElement.legacy("village/plains/plains_lamp_1", zombiePlains), (Object)1), (Object)Pair.of(StructurePoolElement.feature(oakVillage), (Object)1), (Object)Pair.of(StructurePoolElement.feature(flowerPlainVillage), (Object)1), (Object)Pair.of(StructurePoolElement.feature(pileHayVillage), (Object)1), (Object)Pair.of(StructurePoolElement.empty(), (Object)2)), StructureTemplatePool.Projection.RIGID));
|
|
Pools.register(context, "village/plains/villagers", new StructureTemplatePool(empty, (List<Pair<Function<StructureTemplatePool.Projection, ? extends StructurePoolElement>, Integer>>)ImmutableList.of((Object)Pair.of(StructurePoolElement.legacy("village/plains/villagers/nitwit"), (Object)1), (Object)Pair.of(StructurePoolElement.legacy("village/plains/villagers/baby"), (Object)1), (Object)Pair.of(StructurePoolElement.legacy("village/plains/villagers/unemployed"), (Object)10)), StructureTemplatePool.Projection.RIGID));
|
|
Pools.register(context, "village/plains/zombie/villagers", new StructureTemplatePool(empty, (List<Pair<Function<StructureTemplatePool.Projection, ? extends StructurePoolElement>, Integer>>)ImmutableList.of((Object)Pair.of(StructurePoolElement.legacy("village/plains/zombie/villagers/nitwit"), (Object)1), (Object)Pair.of(StructurePoolElement.legacy("village/plains/zombie/villagers/unemployed"), (Object)10)), StructureTemplatePool.Projection.RIGID));
|
|
Pools.register(context, "village/common/animals", new StructureTemplatePool(empty, (List<Pair<Function<StructureTemplatePool.Projection, ? extends StructurePoolElement>, Integer>>)ImmutableList.of((Object)Pair.of(StructurePoolElement.legacy("village/common/animals/cows_1"), (Object)7), (Object)Pair.of(StructurePoolElement.legacy("village/common/animals/pigs_1"), (Object)7), (Object)Pair.of(StructurePoolElement.legacy("village/common/animals/horses_1"), (Object)1), (Object)Pair.of(StructurePoolElement.legacy("village/common/animals/horses_2"), (Object)1), (Object)Pair.of(StructurePoolElement.legacy("village/common/animals/horses_3"), (Object)1), (Object)Pair.of(StructurePoolElement.legacy("village/common/animals/horses_4"), (Object)1), (Object)Pair.of(StructurePoolElement.legacy("village/common/animals/horses_5"), (Object)1), (Object)Pair.of(StructurePoolElement.legacy("village/common/animals/sheep_1"), (Object)1), (Object)Pair.of(StructurePoolElement.legacy("village/common/animals/sheep_2"), (Object)1), (Object)Pair.of(StructurePoolElement.empty(), (Object)5)), StructureTemplatePool.Projection.RIGID));
|
|
Pools.register(context, "village/common/sheep", new StructureTemplatePool(empty, (List<Pair<Function<StructureTemplatePool.Projection, ? extends StructurePoolElement>, Integer>>)ImmutableList.of((Object)Pair.of(StructurePoolElement.legacy("village/common/animals/sheep_1"), (Object)1), (Object)Pair.of(StructurePoolElement.legacy("village/common/animals/sheep_2"), (Object)1)), StructureTemplatePool.Projection.RIGID));
|
|
Pools.register(context, "village/common/cats", new StructureTemplatePool(empty, (List<Pair<Function<StructureTemplatePool.Projection, ? extends StructurePoolElement>, Integer>>)ImmutableList.of((Object)Pair.of(StructurePoolElement.legacy("village/common/animals/cat_black"), (Object)1), (Object)Pair.of(StructurePoolElement.legacy("village/common/animals/cat_british"), (Object)1), (Object)Pair.of(StructurePoolElement.legacy("village/common/animals/cat_calico"), (Object)1), (Object)Pair.of(StructurePoolElement.legacy("village/common/animals/cat_persian"), (Object)1), (Object)Pair.of(StructurePoolElement.legacy("village/common/animals/cat_ragdoll"), (Object)1), (Object)Pair.of(StructurePoolElement.legacy("village/common/animals/cat_red"), (Object)1), (Object)Pair.of(StructurePoolElement.legacy("village/common/animals/cat_siamese"), (Object)1), (Object)Pair.of(StructurePoolElement.legacy("village/common/animals/cat_tabby"), (Object)1), (Object)Pair.of(StructurePoolElement.legacy("village/common/animals/cat_white"), (Object)1), (Object)Pair.of(StructurePoolElement.legacy("village/common/animals/cat_jellie"), (Object)1), (Object)Pair.of(StructurePoolElement.empty(), (Object)3)), StructureTemplatePool.Projection.RIGID));
|
|
Pools.register(context, "village/common/butcher_animals", new StructureTemplatePool(empty, (List<Pair<Function<StructureTemplatePool.Projection, ? extends StructurePoolElement>, Integer>>)ImmutableList.of((Object)Pair.of(StructurePoolElement.legacy("village/common/animals/cows_1"), (Object)3), (Object)Pair.of(StructurePoolElement.legacy("village/common/animals/pigs_1"), (Object)3), (Object)Pair.of(StructurePoolElement.legacy("village/common/animals/sheep_1"), (Object)1), (Object)Pair.of(StructurePoolElement.legacy("village/common/animals/sheep_2"), (Object)1)), StructureTemplatePool.Projection.RIGID));
|
|
Pools.register(context, "village/common/iron_golem", new StructureTemplatePool(empty, (List<Pair<Function<StructureTemplatePool.Projection, ? extends StructurePoolElement>, Integer>>)ImmutableList.of((Object)Pair.of(StructurePoolElement.legacy("village/common/iron_golem"), (Object)1)), StructureTemplatePool.Projection.RIGID));
|
|
Pools.register(context, "village/common/well_bottoms", new StructureTemplatePool(empty, (List<Pair<Function<StructureTemplatePool.Projection, ? extends StructurePoolElement>, Integer>>)ImmutableList.of((Object)Pair.of(StructurePoolElement.legacy("village/common/well_bottom"), (Object)1)), StructureTemplatePool.Projection.RIGID));
|
|
}
|
|
}
|
|
|