2025-11-24 22:52:51 +03:00

189 lines
166 KiB
Java

/*
* Decompiled with CFR 0.152.
*/
package net.minecraft.data.loot.packs;
import java.util.function.BiConsumer;
import net.minecraft.core.HolderGetter;
import net.minecraft.core.HolderLookup;
import net.minecraft.core.HolderSet;
import net.minecraft.core.registries.Registries;
import net.minecraft.data.loot.LootTableSubProvider;
import net.minecraft.network.chat.Component;
import net.minecraft.resources.ResourceKey;
import net.minecraft.tags.InstrumentTags;
import net.minecraft.tags.StructureTags;
import net.minecraft.world.effect.MobEffects;
import net.minecraft.world.item.Items;
import net.minecraft.world.item.alchemy.Potions;
import net.minecraft.world.item.enchantment.Enchantments;
import net.minecraft.world.level.block.Blocks;
import net.minecraft.world.level.saveddata.maps.MapDecorationTypes;
import net.minecraft.world.level.storage.loot.BuiltInLootTables;
import net.minecraft.world.level.storage.loot.LootPool;
import net.minecraft.world.level.storage.loot.LootTable;
import net.minecraft.world.level.storage.loot.entries.EmptyLootItem;
import net.minecraft.world.level.storage.loot.entries.LootItem;
import net.minecraft.world.level.storage.loot.entries.LootPoolEntryContainer;
import net.minecraft.world.level.storage.loot.entries.LootPoolSingletonContainer;
import net.minecraft.world.level.storage.loot.entries.NestedLootTable;
import net.minecraft.world.level.storage.loot.functions.EnchantRandomlyFunction;
import net.minecraft.world.level.storage.loot.functions.EnchantWithLevelsFunction;
import net.minecraft.world.level.storage.loot.functions.ExplorationMapFunction;
import net.minecraft.world.level.storage.loot.functions.SetEnchantmentsFunction;
import net.minecraft.world.level.storage.loot.functions.SetInstrumentFunction;
import net.minecraft.world.level.storage.loot.functions.SetItemCountFunction;
import net.minecraft.world.level.storage.loot.functions.SetItemDamageFunction;
import net.minecraft.world.level.storage.loot.functions.SetNameFunction;
import net.minecraft.world.level.storage.loot.functions.SetOminousBottleAmplifierFunction;
import net.minecraft.world.level.storage.loot.functions.SetPotionFunction;
import net.minecraft.world.level.storage.loot.functions.SetStewEffectFunction;
import net.minecraft.world.level.storage.loot.predicates.LootItemRandomChanceCondition;
import net.minecraft.world.level.storage.loot.providers.number.ConstantValue;
import net.minecraft.world.level.storage.loot.providers.number.UniformGenerator;
public record VanillaChestLoot(HolderLookup.Provider registries) implements LootTableSubProvider
{
@Override
public void generate(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> output) {
HolderGetter enchantments = this.registries.lookupOrThrow(Registries.ENCHANTMENT);
output.accept(BuiltInLootTables.ABANDONED_MINESHAFT, LootTable.lootTable().withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.GOLDEN_APPLE).setWeight(20)).add(LootItem.lootTableItem(Items.ENCHANTED_GOLDEN_APPLE)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.NAME_TAG).setWeight(30)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BOOK).setWeight(10)).apply(EnchantRandomlyFunction.randomApplicableEnchantment(this.registries)))).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.IRON_PICKAXE).setWeight(5)).add((LootPoolEntryContainer.Builder<?>)EmptyLootItem.emptyItem().setWeight(5))).withPool(LootPool.lootPool().setRolls(UniformGenerator.between(2.0f, 4.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.IRON_INGOT).setWeight(10)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 5.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.GOLD_INGOT).setWeight(5)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.REDSTONE).setWeight(5)).apply(SetItemCountFunction.setCount(UniformGenerator.between(4.0f, 9.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.LAPIS_LAZULI).setWeight(5)).apply(SetItemCountFunction.setCount(UniformGenerator.between(4.0f, 9.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.DIAMOND).setWeight(3)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 2.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.COAL).setWeight(10)).apply(SetItemCountFunction.setCount(UniformGenerator.between(3.0f, 8.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BREAD).setWeight(15)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.GLOW_BERRIES).setWeight(15)).apply(SetItemCountFunction.setCount(UniformGenerator.between(3.0f, 6.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.MELON_SEEDS).setWeight(10)).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 4.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.PUMPKIN_SEEDS).setWeight(10)).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 4.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BEETROOT_SEEDS).setWeight(10)).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 4.0f)))))).withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(3.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Blocks.RAIL).setWeight(20)).apply(SetItemCountFunction.setCount(UniformGenerator.between(4.0f, 8.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Blocks.POWERED_RAIL).setWeight(5)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 4.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Blocks.DETECTOR_RAIL).setWeight(5)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 4.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Blocks.ACTIVATOR_RAIL).setWeight(5)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 4.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Blocks.TORCH).setWeight(15)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 16.0f)))))));
output.accept(BuiltInLootTables.BASTION_BRIDGE, this.bastionBridgeLootTable());
output.accept(BuiltInLootTables.BASTION_HOGLIN_STABLE, this.bastionHoglinStableLootTable());
output.accept(BuiltInLootTables.BASTION_OTHER, this.bastionOtherLootTable());
output.accept(BuiltInLootTables.BASTION_TREASURE, this.bastionTreasureLootTable());
output.accept(BuiltInLootTables.BURIED_TREASURE, LootTable.lootTable().withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).add(LootItem.lootTableItem(Items.HEART_OF_THE_SEA))).withPool(LootPool.lootPool().setRolls(UniformGenerator.between(5.0f, 8.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.IRON_INGOT).setWeight(20)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 4.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.GOLD_INGOT).setWeight(10)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 4.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Blocks.TNT).setWeight(5)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 2.0f)))))).withPool(LootPool.lootPool().setRolls(UniformGenerator.between(1.0f, 3.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.EMERALD).setWeight(5)).apply(SetItemCountFunction.setCount(UniformGenerator.between(4.0f, 8.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.DIAMOND).setWeight(5)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 2.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.PRISMARINE_CRYSTALS).setWeight(5)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 5.0f)))))).withPool(LootPool.lootPool().setRolls(UniformGenerator.between(0.0f, 1.0f)).add(LootItem.lootTableItem(Items.LEATHER_CHESTPLATE)).add(LootItem.lootTableItem(Items.IRON_SWORD)).add(LootItem.lootTableItem(Items.IRON_SPEAR))).withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(2.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)LootItem.lootTableItem(Items.COOKED_COD).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 4.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)LootItem.lootTableItem(Items.COOKED_SALMON).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 4.0f)))))).withPool(LootPool.lootPool().setRolls(UniformGenerator.between(0.0f, 2.0f)).add(LootItem.lootTableItem(Items.POTION)).apply(SetPotionFunction.setPotion(Potions.WATER_BREATHING))).withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).add((LootPoolEntryContainer.Builder<?>)EmptyLootItem.emptyItem().setWeight(148)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.COPPER_NAUTILUS_ARMOR).setWeight(20)).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.IRON_NAUTILUS_ARMOR).setWeight(10)).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.GOLDEN_NAUTILUS_ARMOR).setWeight(5)).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.DIAMOND_NAUTILUS_ARMOR).setWeight(2)).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f)))))));
output.accept(BuiltInLootTables.ANCIENT_CITY, this.ancientCityLootTable());
output.accept(BuiltInLootTables.ANCIENT_CITY_ICE_BOX, LootTable.lootTable().withPool(LootPool.lootPool().setRolls(UniformGenerator.between(4.0f, 10.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.SUSPICIOUS_STEW).setWeight(1)).apply(SetStewEffectFunction.stewEffect().withEffect(MobEffects.NIGHT_VISION, UniformGenerator.between(7.0f, 10.0f)).withEffect(MobEffects.BLINDNESS, UniformGenerator.between(5.0f, 7.0f)))).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 6.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.GOLDEN_CARROT).setWeight(1)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 10.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BAKED_POTATO).setWeight(1)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 10.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.PACKED_ICE).setWeight(2)).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 6.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.SNOWBALL).setWeight(4)).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 6.0f)))))));
output.accept(BuiltInLootTables.DESERT_PYRAMID, this.desertPyramidLootTable());
output.accept(BuiltInLootTables.END_CITY_TREASURE, this.endCityTreasureLootTable());
output.accept(BuiltInLootTables.IGLOO_CHEST, LootTable.lootTable().withPool(LootPool.lootPool().setRolls(UniformGenerator.between(2.0f, 8.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.APPLE).setWeight(15)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.COAL).setWeight(15)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 4.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.GOLD_NUGGET).setWeight(10)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.STONE_AXE).setWeight(2)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.ROTTEN_FLESH).setWeight(10)).add(LootItem.lootTableItem(Items.EMERALD)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.WHEAT).setWeight(10)).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 3.0f)))))).withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).add(LootItem.lootTableItem(Items.GOLDEN_APPLE))));
output.accept(BuiltInLootTables.JUNGLE_TEMPLE, this.jungleTempleLootTable());
output.accept(BuiltInLootTables.JUNGLE_TEMPLE_DISPENSER, LootTable.lootTable().withPool(LootPool.lootPool().setRolls(UniformGenerator.between(1.0f, 2.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.ARROW).setWeight(30)).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 7.0f)))))));
output.accept(BuiltInLootTables.NETHER_BRIDGE, this.netherBridgeLootTable());
output.accept(BuiltInLootTables.PILLAGER_OUTPOST, this.pillagerOutpostLootTable());
output.accept(BuiltInLootTables.SHIPWRECK_MAP, this.shipwreckMapLootTable());
output.accept(BuiltInLootTables.SHIPWRECK_SUPPLY, this.shipwreckSupplyLootTable());
output.accept(BuiltInLootTables.SHIPWRECK_TREASURE, this.shipwreckTreasureLootTable());
output.accept(BuiltInLootTables.SIMPLE_DUNGEON, LootTable.lootTable().withPool(LootPool.lootPool().setRolls(UniformGenerator.between(1.0f, 3.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.LEATHER).setWeight(20)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 5.0f))))).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.GOLDEN_APPLE).setWeight(15)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.ENCHANTED_GOLDEN_APPLE).setWeight(2)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.MUSIC_DISC_OTHERSIDE).setWeight(2)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.MUSIC_DISC_13).setWeight(15)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.MUSIC_DISC_CAT).setWeight(15)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.NAME_TAG).setWeight(20)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.GOLDEN_HORSE_ARMOR).setWeight(10)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.COPPER_HORSE_ARMOR).setWeight(15)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.IRON_HORSE_ARMOR).setWeight(15)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.DIAMOND_HORSE_ARMOR).setWeight(5)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BOOK).setWeight(10)).apply(EnchantRandomlyFunction.randomApplicableEnchantment(this.registries))))).withPool(LootPool.lootPool().setRolls(UniformGenerator.between(1.0f, 4.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.IRON_INGOT).setWeight(10)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 4.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.GOLD_INGOT).setWeight(5)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 4.0f))))).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.BREAD).setWeight(20)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.WHEAT).setWeight(20)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 4.0f))))).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.BUCKET).setWeight(10)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.REDSTONE).setWeight(15)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 4.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.COAL).setWeight(15)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 4.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.MELON_SEEDS).setWeight(10)).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 4.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.PUMPKIN_SEEDS).setWeight(10)).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 4.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BEETROOT_SEEDS).setWeight(10)).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 4.0f)))))).withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(3.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BONE).setWeight(10)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 8.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.GUNPOWDER).setWeight(10)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 8.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.ROTTEN_FLESH).setWeight(10)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 8.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.STRING).setWeight(10)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 8.0f)))))));
output.accept(BuiltInLootTables.SPAWN_BONUS_CHEST, LootTable.lootTable().withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).add(LootItem.lootTableItem(Items.STONE_AXE)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.WOODEN_AXE).setWeight(3))).withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).add(LootItem.lootTableItem(Items.STONE_PICKAXE)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.WOODEN_PICKAXE).setWeight(3))).withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(3.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.APPLE).setWeight(5)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 2.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BREAD).setWeight(3)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 2.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.SALMON).setWeight(3)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 2.0f)))))).withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(4.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.STICK).setWeight(10)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 12.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Blocks.OAK_PLANKS).setWeight(10)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 12.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Blocks.OAK_LOG).setWeight(3)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Blocks.SPRUCE_LOG).setWeight(3)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Blocks.BIRCH_LOG).setWeight(3)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Blocks.JUNGLE_LOG).setWeight(3)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Blocks.ACACIA_LOG).setWeight(3)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Blocks.DARK_OAK_LOG).setWeight(3)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Blocks.MANGROVE_LOG).setWeight(3)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f)))))));
output.accept(BuiltInLootTables.STRONGHOLD_CORRIDOR, this.strongholdCorridorLootTable());
output.accept(BuiltInLootTables.STRONGHOLD_CROSSING, LootTable.lootTable().withPool(LootPool.lootPool().setRolls(UniformGenerator.between(1.0f, 4.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.IRON_INGOT).setWeight(10)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 5.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.GOLD_INGOT).setWeight(5)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.REDSTONE).setWeight(5)).apply(SetItemCountFunction.setCount(UniformGenerator.between(4.0f, 9.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.COAL).setWeight(10)).apply(SetItemCountFunction.setCount(UniformGenerator.between(3.0f, 8.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BREAD).setWeight(15)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.APPLE).setWeight(15)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add(LootItem.lootTableItem(Items.IRON_PICKAXE)).add((LootPoolEntryContainer.Builder<?>)((Object)LootItem.lootTableItem(Items.BOOK).apply(EnchantWithLevelsFunction.enchantWithLevels(this.registries, ConstantValue.exactly(30.0f)))))));
output.accept(BuiltInLootTables.STRONGHOLD_LIBRARY, this.strongholdLibraryLootTable());
output.accept(BuiltInLootTables.UNDERWATER_RUIN_BIG, LootTable.lootTable().withPool(LootPool.lootPool().setRolls(UniformGenerator.between(2.0f, 8.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.COAL).setWeight(10)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 4.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.GOLD_NUGGET).setWeight(10)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add(LootItem.lootTableItem(Items.EMERALD)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.STONE_SPEAR).setWeight(2)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.WHEAT).setWeight(10)).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 3.0f)))))).withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).add(LootItem.lootTableItem(Items.GOLDEN_APPLE)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BOOK).setWeight(5)).apply(EnchantRandomlyFunction.randomApplicableEnchantment(this.registries)))).add(LootItem.lootTableItem(Items.LEATHER_CHESTPLATE)).add(LootItem.lootTableItem(Items.GOLDEN_HELMET)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.FISHING_ROD).setWeight(5)).apply(EnchantRandomlyFunction.randomApplicableEnchantment(this.registries)))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.MAP).setWeight(10)).apply(ExplorationMapFunction.makeExplorationMap().setDestination(StructureTags.ON_TREASURE_MAPS).setMapDecoration(MapDecorationTypes.RED_X).setZoom((byte)1).setSkipKnownStructures(false))).apply(SetNameFunction.setName(Component.translatable("filled_map.buried_treasure"), SetNameFunction.Target.ITEM_NAME))))).withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).add((LootPoolEntryContainer.Builder<?>)EmptyLootItem.emptyItem().setWeight(148)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.COPPER_NAUTILUS_ARMOR).setWeight(20)).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.IRON_NAUTILUS_ARMOR).setWeight(10)).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.GOLDEN_NAUTILUS_ARMOR).setWeight(5)).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.DIAMOND_NAUTILUS_ARMOR).setWeight(2)).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f)))))));
output.accept(BuiltInLootTables.UNDERWATER_RUIN_SMALL, LootTable.lootTable().withPool(LootPool.lootPool().setRolls(UniformGenerator.between(2.0f, 8.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.COAL).setWeight(10)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 4.0f))))).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.STONE_AXE).setWeight(2)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.STONE_SPEAR).setWeight(2)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.ROTTEN_FLESH).setWeight(5)).add(LootItem.lootTableItem(Items.EMERALD)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.WHEAT).setWeight(10)).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 3.0f)))))).withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).add(LootItem.lootTableItem(Items.LEATHER_CHESTPLATE)).add(LootItem.lootTableItem(Items.GOLDEN_HELMET)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.FISHING_ROD).setWeight(5)).apply(EnchantRandomlyFunction.randomApplicableEnchantment(this.registries)))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.MAP).setWeight(5)).apply(ExplorationMapFunction.makeExplorationMap().setDestination(StructureTags.ON_TREASURE_MAPS).setMapDecoration(MapDecorationTypes.RED_X).setZoom((byte)1).setSkipKnownStructures(false))).apply(SetNameFunction.setName(Component.translatable("filled_map.buried_treasure"), SetNameFunction.Target.ITEM_NAME))))).withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).add((LootPoolEntryContainer.Builder<?>)EmptyLootItem.emptyItem().setWeight(148)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.COPPER_NAUTILUS_ARMOR).setWeight(20)).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.IRON_NAUTILUS_ARMOR).setWeight(10)).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.GOLDEN_NAUTILUS_ARMOR).setWeight(5)).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.DIAMOND_NAUTILUS_ARMOR).setWeight(2)).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f)))))));
output.accept(BuiltInLootTables.VILLAGE_WEAPONSMITH, LootTable.lootTable().withPool(LootPool.lootPool().setRolls(UniformGenerator.between(3.0f, 8.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.DIAMOND).setWeight(3)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.IRON_INGOT).setWeight(10)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 5.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.GOLD_INGOT).setWeight(5)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BREAD).setWeight(15)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.APPLE).setWeight(15)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.IRON_PICKAXE).setWeight(5)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.IRON_SWORD).setWeight(5)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.IRON_SPEAR).setWeight(5)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.COPPER_SPEAR).setWeight(7)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.IRON_CHESTPLATE).setWeight(5)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.IRON_HELMET).setWeight(5)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.IRON_LEGGINGS).setWeight(5)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.IRON_BOOTS).setWeight(5)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Blocks.OBSIDIAN).setWeight(5)).apply(SetItemCountFunction.setCount(UniformGenerator.between(3.0f, 7.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Blocks.OAK_SAPLING).setWeight(5)).apply(SetItemCountFunction.setCount(UniformGenerator.between(3.0f, 7.0f))))).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.SADDLE).setWeight(3)).add(LootItem.lootTableItem(Items.COPPER_HORSE_ARMOR)).add(LootItem.lootTableItem(Items.IRON_HORSE_ARMOR)).add(LootItem.lootTableItem(Items.GOLDEN_HORSE_ARMOR)).add(LootItem.lootTableItem(Items.DIAMOND_HORSE_ARMOR))).withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BUNDLE).setWeight(1)).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f))))).add((LootPoolEntryContainer.Builder<?>)EmptyLootItem.emptyItem().setWeight(2))));
output.accept(BuiltInLootTables.VILLAGE_TOOLSMITH, LootTable.lootTable().withPool(LootPool.lootPool().setRolls(UniformGenerator.between(3.0f, 8.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.DIAMOND).setWeight(1)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.IRON_INGOT).setWeight(5)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 5.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.GOLD_INGOT).setWeight(1)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BREAD).setWeight(15)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.IRON_PICKAXE).setWeight(5)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.COAL).setWeight(1)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.STICK).setWeight(20)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.IRON_SHOVEL).setWeight(5))));
output.accept(BuiltInLootTables.VILLAGE_CARTOGRAPHER, LootTable.lootTable().withPool(LootPool.lootPool().setRolls(UniformGenerator.between(1.0f, 5.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.MAP).setWeight(10)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.PAPER).setWeight(15)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 5.0f))))).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.COMPASS).setWeight(5)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BREAD).setWeight(15)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 4.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.STICK).setWeight(5)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 2.0f)))))).withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BUNDLE).setWeight(1)).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f))))).add((LootPoolEntryContainer.Builder<?>)EmptyLootItem.emptyItem().setWeight(2))));
output.accept(BuiltInLootTables.VILLAGE_MASON, LootTable.lootTable().withPool(LootPool.lootPool().setRolls(UniformGenerator.between(1.0f, 5.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.CLAY_BALL).setWeight(1)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.FLOWER_POT).setWeight(1)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Blocks.STONE).setWeight(2)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Blocks.STONE_BRICKS).setWeight(2)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BREAD).setWeight(4)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 4.0f))))).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.YELLOW_DYE).setWeight(1)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Blocks.SMOOTH_STONE).setWeight(1)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.EMERALD).setWeight(1))));
output.accept(BuiltInLootTables.VILLAGE_ARMORER, LootTable.lootTable().withPool(LootPool.lootPool().setRolls(UniformGenerator.between(1.0f, 5.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.IRON_INGOT).setWeight(2)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BREAD).setWeight(4)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 4.0f))))).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.IRON_HELMET).setWeight(1)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.EMERALD).setWeight(1))));
output.accept(BuiltInLootTables.VILLAGE_SHEPHERD, LootTable.lootTable().withPool(LootPool.lootPool().setRolls(UniformGenerator.between(1.0f, 5.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Blocks.WHITE_WOOL).setWeight(6)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 8.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Blocks.BLACK_WOOL).setWeight(3)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Blocks.GRAY_WOOL).setWeight(2)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Blocks.BROWN_WOOL).setWeight(2)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Blocks.LIGHT_GRAY_WOOL).setWeight(2)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.EMERALD).setWeight(1)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.SHEARS).setWeight(1)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.WHEAT).setWeight(6)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 6.0f)))))));
output.accept(BuiltInLootTables.VILLAGE_BUTCHER, LootTable.lootTable().withPool(LootPool.lootPool().setRolls(UniformGenerator.between(1.0f, 5.0f)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.EMERALD).setWeight(1)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.PORKCHOP).setWeight(6)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.WHEAT).setWeight(6)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BEEF).setWeight(6)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.MUTTON).setWeight(6)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.COAL).setWeight(3)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f)))))));
output.accept(BuiltInLootTables.VILLAGE_FLETCHER, LootTable.lootTable().withPool(LootPool.lootPool().setRolls(UniformGenerator.between(1.0f, 5.0f)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.EMERALD).setWeight(1)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.ARROW).setWeight(2)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.FEATHER).setWeight(6)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.EGG).setWeight(2)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.FLINT).setWeight(6)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.STICK).setWeight(6)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f)))))));
output.accept(BuiltInLootTables.VILLAGE_FISHER, LootTable.lootTable().withPool(LootPool.lootPool().setRolls(UniformGenerator.between(1.0f, 5.0f)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.EMERALD).setWeight(1)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.COD).setWeight(2)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.SALMON).setWeight(1)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.WATER_BUCKET).setWeight(1)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BARREL).setWeight(1)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.WHEAT_SEEDS).setWeight(3)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.COAL).setWeight(2)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f)))))));
output.accept(BuiltInLootTables.VILLAGE_TANNERY, LootTable.lootTable().withPool(LootPool.lootPool().setRolls(UniformGenerator.between(1.0f, 5.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.LEATHER).setWeight(1)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.LEATHER_CHESTPLATE).setWeight(2)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.LEATHER_BOOTS).setWeight(2)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.LEATHER_HELMET).setWeight(2)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BREAD).setWeight(5)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 4.0f))))).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.LEATHER_LEGGINGS).setWeight(2)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.SADDLE).setWeight(1)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.EMERALD).setWeight(1)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 4.0f)))))).withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BUNDLE).setWeight(1)).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f))))).add((LootPoolEntryContainer.Builder<?>)EmptyLootItem.emptyItem().setWeight(2))));
output.accept(BuiltInLootTables.VILLAGE_TEMPLE, LootTable.lootTable().withPool(LootPool.lootPool().setRolls(UniformGenerator.between(3.0f, 8.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.REDSTONE).setWeight(2)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 4.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BREAD).setWeight(7)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 4.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.ROTTEN_FLESH).setWeight(7)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 4.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.LAPIS_LAZULI).setWeight(1)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 4.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.GOLD_INGOT).setWeight(1)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 4.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.EMERALD).setWeight(1)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 4.0f)))))));
output.accept(BuiltInLootTables.VILLAGE_PLAINS_HOUSE, LootTable.lootTable().withPool(LootPool.lootPool().setRolls(UniformGenerator.between(3.0f, 8.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.GOLD_NUGGET).setWeight(1)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.DANDELION).setWeight(2)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.POPPY).setWeight(1)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.POTATO).setWeight(10)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 7.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BREAD).setWeight(10)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 4.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.APPLE).setWeight(10)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 5.0f))))).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.BOOK).setWeight(1)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.FEATHER).setWeight(1)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.EMERALD).setWeight(2)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 4.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Blocks.OAK_SAPLING).setWeight(5)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 2.0f)))))).withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BUNDLE).setWeight(1)).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f))))).add((LootPoolEntryContainer.Builder<?>)EmptyLootItem.emptyItem().setWeight(2))));
output.accept(BuiltInLootTables.VILLAGE_TAIGA_HOUSE, LootTable.lootTable().withPool(LootPool.lootPool().setRolls(UniformGenerator.between(3.0f, 8.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.IRON_NUGGET).setWeight(1)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 5.0f))))).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.FERN).setWeight(2)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.LARGE_FERN).setWeight(2)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.POTATO).setWeight(10)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 7.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.SWEET_BERRIES).setWeight(5)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 7.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BREAD).setWeight(10)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 4.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.PUMPKIN_SEEDS).setWeight(5)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 5.0f))))).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.PUMPKIN_PIE).setWeight(1)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.EMERALD).setWeight(2)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 4.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Blocks.SPRUCE_SAPLING).setWeight(5)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 5.0f))))).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.SPRUCE_SIGN).setWeight(1)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.SPRUCE_LOG).setWeight(10)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 5.0f)))))).withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BUNDLE).setWeight(1)).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f))))).add((LootPoolEntryContainer.Builder<?>)EmptyLootItem.emptyItem().setWeight(2))));
output.accept(BuiltInLootTables.VILLAGE_SAVANNA_HOUSE, LootTable.lootTable().withPool(LootPool.lootPool().setRolls(UniformGenerator.between(3.0f, 8.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.GOLD_NUGGET).setWeight(1)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.SHORT_GRASS).setWeight(5)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.TALL_GRASS).setWeight(5)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BREAD).setWeight(10)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 4.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.WHEAT_SEEDS).setWeight(10)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 5.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.EMERALD).setWeight(2)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 4.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Blocks.ACACIA_SAPLING).setWeight(10)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 2.0f))))).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.SADDLE).setWeight(1)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Blocks.TORCH).setWeight(1)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 2.0f))))).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.BUCKET).setWeight(1))).withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BUNDLE).setWeight(1)).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f))))).add((LootPoolEntryContainer.Builder<?>)EmptyLootItem.emptyItem().setWeight(2))));
output.accept(BuiltInLootTables.VILLAGE_SNOWY_HOUSE, LootTable.lootTable().withPool(LootPool.lootPool().setRolls(UniformGenerator.between(3.0f, 8.0f)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Blocks.BLUE_ICE).setWeight(1)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Blocks.SNOW_BLOCK).setWeight(4)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.POTATO).setWeight(10)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 7.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BREAD).setWeight(10)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 4.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BEETROOT_SEEDS).setWeight(10)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 5.0f))))).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.BEETROOT_SOUP).setWeight(1)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.FURNACE).setWeight(1)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.EMERALD).setWeight(1)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 4.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.SNOWBALL).setWeight(10)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 7.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.COAL).setWeight(5)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 4.0f)))))).withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BUNDLE).setWeight(1)).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f))))).add((LootPoolEntryContainer.Builder<?>)EmptyLootItem.emptyItem().setWeight(2))));
output.accept(BuiltInLootTables.VILLAGE_DESERT_HOUSE, LootTable.lootTable().withPool(LootPool.lootPool().setRolls(UniformGenerator.between(3.0f, 8.0f)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.CLAY_BALL).setWeight(1)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.GREEN_DYE).setWeight(1)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Blocks.CACTUS).setWeight(10)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 4.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.WHEAT).setWeight(10)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 7.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BREAD).setWeight(10)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 4.0f))))).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.BOOK).setWeight(1)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Blocks.DEAD_BUSH).setWeight(2)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.EMERALD).setWeight(1)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f)))))).withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BUNDLE).setWeight(1)).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f))))).add((LootPoolEntryContainer.Builder<?>)EmptyLootItem.emptyItem().setWeight(2))));
output.accept(BuiltInLootTables.WOODLAND_MANSION, this.woodlandMansionLootTable());
output.accept(BuiltInLootTables.RUINED_PORTAL, LootTable.lootTable().withPool(LootPool.lootPool().setRolls(UniformGenerator.between(4.0f, 8.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.OBSIDIAN).setWeight(40)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 2.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.FLINT).setWeight(40)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 4.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.IRON_NUGGET).setWeight(40)).apply(SetItemCountFunction.setCount(UniformGenerator.between(9.0f, 18.0f))))).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.FLINT_AND_STEEL).setWeight(40)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.FIRE_CHARGE).setWeight(40)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.GOLDEN_APPLE).setWeight(15)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.GOLD_NUGGET).setWeight(15)).apply(SetItemCountFunction.setCount(UniformGenerator.between(4.0f, 24.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.GOLDEN_SWORD).setWeight(15)).apply(EnchantRandomlyFunction.randomApplicableEnchantment(this.registries)))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.GOLDEN_AXE).setWeight(15)).apply(EnchantRandomlyFunction.randomApplicableEnchantment(this.registries)))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.GOLDEN_HOE).setWeight(15)).apply(EnchantRandomlyFunction.randomApplicableEnchantment(this.registries)))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.GOLDEN_SHOVEL).setWeight(15)).apply(EnchantRandomlyFunction.randomApplicableEnchantment(this.registries)))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.GOLDEN_PICKAXE).setWeight(15)).apply(EnchantRandomlyFunction.randomApplicableEnchantment(this.registries)))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.GOLDEN_BOOTS).setWeight(15)).apply(EnchantRandomlyFunction.randomApplicableEnchantment(this.registries)))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.GOLDEN_CHESTPLATE).setWeight(15)).apply(EnchantRandomlyFunction.randomApplicableEnchantment(this.registries)))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.GOLDEN_HELMET).setWeight(15)).apply(EnchantRandomlyFunction.randomApplicableEnchantment(this.registries)))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.GOLDEN_LEGGINGS).setWeight(15)).apply(EnchantRandomlyFunction.randomApplicableEnchantment(this.registries)))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.GLISTERING_MELON_SLICE).setWeight(5)).apply(SetItemCountFunction.setCount(UniformGenerator.between(4.0f, 12.0f))))).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.GOLDEN_HORSE_ARMOR).setWeight(5)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.LIGHT_WEIGHTED_PRESSURE_PLATE).setWeight(5)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.GOLDEN_CARROT).setWeight(5)).apply(SetItemCountFunction.setCount(UniformGenerator.between(4.0f, 12.0f))))).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.CLOCK).setWeight(5)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.GOLD_INGOT).setWeight(5)).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 8.0f))))).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.BELL).setWeight(1)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.ENCHANTED_GOLDEN_APPLE).setWeight(1)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.GOLD_BLOCK).setWeight(1)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 2.0f)))))).withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).add((LootPoolEntryContainer.Builder<?>)EmptyLootItem.emptyItem().setWeight(1)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.LODESTONE).setWeight(2)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 2.0f)))))));
output.accept(BuiltInLootTables.TRIAL_CHAMBERS_CORRIDOR_DISPENSER, LootTable.lootTable().withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)LootItem.lootTableItem(Items.ARROW).apply(SetItemCountFunction.setCount(UniformGenerator.between(4.0f, 8.0f)))))));
output.accept(BuiltInLootTables.TRIAL_CHAMBERS_WATER_DISPENSER, LootTable.lootTable().withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)LootItem.lootTableItem(Items.WATER_BUCKET).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f)))))));
output.accept(BuiltInLootTables.TRIAL_CHAMBERS_CHAMBER_DISPENSER, LootTable.lootTable().withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).add((LootPoolEntryContainer.Builder<?>)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.WATER_BUCKET).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f)))).setWeight(4)).add((LootPoolEntryContainer.Builder<?>)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.ARROW).apply(SetItemCountFunction.setCount(UniformGenerator.between(4.0f, 8.0f)))).setWeight(4)).add((LootPoolEntryContainer.Builder<?>)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.SNOWBALL).apply(SetItemCountFunction.setCount(UniformGenerator.between(4.0f, 8.0f)))).setWeight(6)).add((LootPoolEntryContainer.Builder<?>)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.EGG).apply(SetItemCountFunction.setCount(UniformGenerator.between(4.0f, 8.0f)))).setWeight(2)).add((LootPoolEntryContainer.Builder<?>)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.FIRE_CHARGE).apply(SetItemCountFunction.setCount(UniformGenerator.between(4.0f, 8.0f)))).setWeight(6)).add((LootPoolEntryContainer.Builder<?>)((LootPoolSingletonContainer.Builder)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.SPLASH_POTION).apply(SetPotionFunction.setPotion(Potions.SLOWNESS))).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 5.0f)))).setWeight(1)).add((LootPoolEntryContainer.Builder<?>)((LootPoolSingletonContainer.Builder)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.SPLASH_POTION).apply(SetPotionFunction.setPotion(Potions.POISON))).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 5.0f)))).setWeight(1)).add((LootPoolEntryContainer.Builder<?>)((LootPoolSingletonContainer.Builder)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.SPLASH_POTION).apply(SetPotionFunction.setPotion(Potions.WEAKNESS))).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 5.0f)))).setWeight(1)).add((LootPoolEntryContainer.Builder<?>)((LootPoolSingletonContainer.Builder)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.LINGERING_POTION).apply(SetPotionFunction.setPotion(Potions.SLOWNESS))).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 5.0f)))).setWeight(1)).add((LootPoolEntryContainer.Builder<?>)((LootPoolSingletonContainer.Builder)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.LINGERING_POTION).apply(SetPotionFunction.setPotion(Potions.POISON))).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 5.0f)))).setWeight(1)).add((LootPoolEntryContainer.Builder<?>)((LootPoolSingletonContainer.Builder)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.LINGERING_POTION).apply(SetPotionFunction.setPotion(Potions.WEAKNESS))).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 5.0f)))).setWeight(1)).add((LootPoolEntryContainer.Builder<?>)((LootPoolSingletonContainer.Builder)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.LINGERING_POTION).apply(SetPotionFunction.setPotion(Potions.HEALING))).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 5.0f)))).setWeight(1))));
output.accept(BuiltInLootTables.TRIAL_CHAMBERS_CORRIDOR_POT, LootTable.lootTable().withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).add((LootPoolEntryContainer.Builder<?>)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.EMERALD).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f)))).setWeight(125)).add((LootPoolEntryContainer.Builder<?>)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.ARROW).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 8.0f)))).setWeight(100)).add((LootPoolEntryContainer.Builder<?>)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.IRON_INGOT).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 2.0f)))).setWeight(100)).add((LootPoolEntryContainer.Builder<?>)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.TRIAL_KEY).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f)))).setWeight(10)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.MUSIC_DISC_CREATOR_MUSIC_BOX).setWeight(5)).add((LootPoolEntryContainer.Builder<?>)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.DIAMOND).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 2.0f)))).setWeight(5)).add((LootPoolEntryContainer.Builder<?>)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.EMERALD_BLOCK).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f)))).setWeight(5)).add((LootPoolEntryContainer.Builder<?>)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.DIAMOND_BLOCK).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f)))).setWeight(1))));
output.accept(BuiltInLootTables.TRIAL_CHAMBERS_SUPPLY, LootTable.lootTable().withPool(LootPool.lootPool().setRolls(UniformGenerator.between(3.0f, 5.0f)).add((LootPoolEntryContainer.Builder<?>)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.ARROW).apply(SetItemCountFunction.setCount(UniformGenerator.between(4.0f, 14.0f)))).setWeight(2)).add((LootPoolEntryContainer.Builder<?>)((LootPoolSingletonContainer.Builder)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.TIPPED_ARROW).apply(SetItemCountFunction.setCount(UniformGenerator.between(4.0f, 8.0f)))).apply(SetPotionFunction.setPotion(Potions.POISON))).setWeight(1)).add((LootPoolEntryContainer.Builder<?>)((LootPoolSingletonContainer.Builder)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.TIPPED_ARROW).apply(SetItemCountFunction.setCount(UniformGenerator.between(4.0f, 8.0f)))).apply(SetPotionFunction.setPotion(Potions.SLOWNESS))).setWeight(1)).add((LootPoolEntryContainer.Builder<?>)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BAKED_POTATO).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 4.0f)))).setWeight(2)).add((LootPoolEntryContainer.Builder<?>)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.GLOW_BERRIES).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 10.0f)))).setWeight(2)).add((LootPoolEntryContainer.Builder<?>)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.ACACIA_PLANKS).apply(SetItemCountFunction.setCount(UniformGenerator.between(3.0f, 6.0f)))).setWeight(1)).add((LootPoolEntryContainer.Builder<?>)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.MOSS_BLOCK).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 5.0f)))).setWeight(1)).add((LootPoolEntryContainer.Builder<?>)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BONE_MEAL).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 5.0f)))).setWeight(1)).add((LootPoolEntryContainer.Builder<?>)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.TUFF).apply(SetItemCountFunction.setCount(UniformGenerator.between(5.0f, 10.0f)))).setWeight(1)).add((LootPoolEntryContainer.Builder<?>)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.TORCH).apply(SetItemCountFunction.setCount(UniformGenerator.between(3.0f, 6.0f)))).setWeight(1)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.POTION).apply(SetItemCountFunction.setCount(ConstantValue.exactly(2.0f)))).apply(SetPotionFunction.setPotion(Potions.REGENERATION)))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.POTION).apply(SetItemCountFunction.setCount(ConstantValue.exactly(2.0f)))).apply(SetPotionFunction.setPotion(Potions.STRENGTH)))).add((LootPoolEntryContainer.Builder<?>)((LootPoolSingletonContainer.Builder)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.STONE_PICKAXE).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f)))).apply(SetItemDamageFunction.setDamage(UniformGenerator.between(0.15f, 0.8f)))).setWeight(2)).add((LootPoolEntryContainer.Builder<?>)((Object)LootItem.lootTableItem(Items.MILK_BUCKET).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f)))))));
output.accept(BuiltInLootTables.TRIAL_CHAMBERS_ENTRANCE, LootTable.lootTable().withPool(LootPool.lootPool().setRolls(UniformGenerator.between(2.0f, 3.0f)).add((LootPoolEntryContainer.Builder<?>)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.TRIAL_KEY).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f)))).setWeight(1)).add((LootPoolEntryContainer.Builder<?>)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.STICK).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 5.0f)))).setWeight(5)).add((LootPoolEntryContainer.Builder<?>)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.WOODEN_AXE).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f)))).setWeight(10)).add((LootPoolEntryContainer.Builder<?>)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.HONEYCOMB).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 8.0f)))).setWeight(10)).add((LootPoolEntryContainer.Builder<?>)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.ARROW).apply(SetItemCountFunction.setCount(UniformGenerator.between(5.0f, 10.0f)))).setWeight(10))));
output.accept(BuiltInLootTables.TRIAL_CHAMBERS_INTERSECTION, LootTable.lootTable().withPool(LootPool.lootPool().setRolls(UniformGenerator.between(1.0f, 3.0f)).add((LootPoolEntryContainer.Builder<?>)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.DIAMOND_BLOCK).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f)))).setWeight(1)).add((LootPoolEntryContainer.Builder<?>)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.EMERALD_BLOCK).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f)))).setWeight(5)).add((LootPoolEntryContainer.Builder<?>)((LootPoolSingletonContainer.Builder)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.DIAMOND_AXE).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f)))).apply(SetItemDamageFunction.setDamage(UniformGenerator.between(0.1f, 0.5f)))).setWeight(5)).add((LootPoolEntryContainer.Builder<?>)((LootPoolSingletonContainer.Builder)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.DIAMOND_PICKAXE).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f)))).apply(SetItemDamageFunction.setDamage(UniformGenerator.between(0.1f, 0.5f)))).setWeight(5)).add((LootPoolEntryContainer.Builder<?>)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.DIAMOND).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 2.0f)))).setWeight(10)).add((LootPoolEntryContainer.Builder<?>)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.CAKE).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 4.0f)))).setWeight(20)).add((LootPoolEntryContainer.Builder<?>)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.AMETHYST_SHARD).apply(SetItemCountFunction.setCount(UniformGenerator.between(8.0f, 20.0f)))).setWeight(20)).add((LootPoolEntryContainer.Builder<?>)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.IRON_BLOCK).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 2.0f)))).setWeight(20))));
output.accept(BuiltInLootTables.TRIAL_CHAMBERS_INTERSECTION_BARREL, LootTable.lootTable().withPool(LootPool.lootPool().setRolls(UniformGenerator.between(1.0f, 3.0f)).add((LootPoolEntryContainer.Builder<?>)((LootPoolSingletonContainer.Builder)((LootPoolSingletonContainer.Builder)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.DIAMOND_AXE).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f)))).apply(SetItemDamageFunction.setDamage(UniformGenerator.between(0.4f, 0.9f)))).apply(EnchantRandomlyFunction.randomApplicableEnchantment(this.registries))).setWeight(1)).add((LootPoolEntryContainer.Builder<?>)((LootPoolSingletonContainer.Builder)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.DIAMOND_PICKAXE).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f)))).apply(SetItemDamageFunction.setDamage(UniformGenerator.between(0.15f, 0.8f)))).setWeight(1)).add((LootPoolEntryContainer.Builder<?>)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.DIAMOND).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f)))).setWeight(1)).add((LootPoolEntryContainer.Builder<?>)((LootPoolSingletonContainer.Builder)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.COMPASS).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f)))).apply(SetItemDamageFunction.setDamage(UniformGenerator.between(0.15f, 0.8f)))).setWeight(1)).add((LootPoolEntryContainer.Builder<?>)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BUCKET).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 2.0f)))).setWeight(1)).add((LootPoolEntryContainer.Builder<?>)((LootPoolSingletonContainer.Builder)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.GOLDEN_AXE).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f)))).apply(SetItemDamageFunction.setDamage(UniformGenerator.between(0.15f, 0.8f)))).setWeight(4)).add((LootPoolEntryContainer.Builder<?>)((LootPoolSingletonContainer.Builder)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.GOLDEN_PICKAXE).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f)))).apply(SetItemDamageFunction.setDamage(UniformGenerator.between(0.15f, 0.8f)))).setWeight(4)).add((LootPoolEntryContainer.Builder<?>)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BAMBOO_PLANKS).apply(SetItemCountFunction.setCount(UniformGenerator.between(5.0f, 15.0f)))).setWeight(10)).add((LootPoolEntryContainer.Builder<?>)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BAKED_POTATO).apply(SetItemCountFunction.setCount(UniformGenerator.between(6.0f, 10.0f)))).setWeight(10))));
output.accept(BuiltInLootTables.TRIAL_CHAMBERS_CORRIDOR, LootTable.lootTable().withPool(LootPool.lootPool().setRolls(UniformGenerator.between(1.0f, 3.0f)).add((LootPoolEntryContainer.Builder<?>)((LootPoolSingletonContainer.Builder)((LootPoolSingletonContainer.Builder)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.IRON_AXE).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f)))).apply(SetItemDamageFunction.setDamage(UniformGenerator.between(0.4f, 0.9f)))).apply(EnchantRandomlyFunction.randomApplicableEnchantment(this.registries))).setWeight(1)).add((LootPoolEntryContainer.Builder<?>)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.HONEYCOMB).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 8.0f)))).setWeight(1)).add((LootPoolEntryContainer.Builder<?>)((LootPoolSingletonContainer.Builder)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.STONE_AXE).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f)))).apply(SetItemDamageFunction.setDamage(UniformGenerator.between(0.15f, 0.8f)))).setWeight(2)).add((LootPoolEntryContainer.Builder<?>)((LootPoolSingletonContainer.Builder)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.STONE_PICKAXE).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f)))).apply(SetItemDamageFunction.setDamage(UniformGenerator.between(0.15f, 0.8f)))).setWeight(2)).add((LootPoolEntryContainer.Builder<?>)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.ENDER_PEARL).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 2.0f)))).setWeight(2)).add((LootPoolEntryContainer.Builder<?>)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BAMBOO_HANGING_SIGN).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 4.0f)))).setWeight(2)).add((LootPoolEntryContainer.Builder<?>)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BAMBOO_PLANKS).apply(SetItemCountFunction.setCount(UniformGenerator.between(3.0f, 6.0f)))).setWeight(2)).add((LootPoolEntryContainer.Builder<?>)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.SCAFFOLDING).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 10.0f)))).setWeight(2)).add((LootPoolEntryContainer.Builder<?>)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.TORCH).apply(SetItemCountFunction.setCount(UniformGenerator.between(3.0f, 6.0f)))).setWeight(2)).add((LootPoolEntryContainer.Builder<?>)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.TUFF).apply(SetItemCountFunction.setCount(UniformGenerator.between(8.0f, 20.0f)))).setWeight(3))));
output.accept(BuiltInLootTables.TRIAL_CHAMBERS_REWARD_RARE, LootTable.lootTable().withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.EMERALD).setWeight(3)).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 4.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.SHIELD).setWeight(3)).apply(SetItemDamageFunction.setDamage(UniformGenerator.between(0.5f, 1.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BOW).setWeight(3)).apply(EnchantWithLevelsFunction.enchantWithLevels(this.registries, UniformGenerator.between(5.0f, 15.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.CROSSBOW).setWeight(2)).apply(EnchantWithLevelsFunction.enchantWithLevels(this.registries, UniformGenerator.between(5.0f, 20.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.IRON_AXE).setWeight(2)).apply(EnchantWithLevelsFunction.enchantWithLevels(this.registries, UniformGenerator.between(0.0f, 10.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.IRON_CHESTPLATE).setWeight(2)).apply(EnchantWithLevelsFunction.enchantWithLevels(this.registries, UniformGenerator.between(0.0f, 10.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.GOLDEN_CARROT).setWeight(2)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 2.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BOOK).setWeight(2)).apply(new EnchantRandomlyFunction.Builder().withOneOf(HolderSet.direct(enchantments.getOrThrow(Enchantments.SHARPNESS), enchantments.getOrThrow(Enchantments.BANE_OF_ARTHROPODS), enchantments.getOrThrow(Enchantments.EFFICIENCY), enchantments.getOrThrow(Enchantments.FORTUNE), enchantments.getOrThrow(Enchantments.SILK_TOUCH), enchantments.getOrThrow(Enchantments.FEATHER_FALLING)))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BOOK).setWeight(2)).apply(new EnchantRandomlyFunction.Builder().withOneOf(HolderSet.direct(enchantments.getOrThrow(Enchantments.RIPTIDE), enchantments.getOrThrow(Enchantments.LOYALTY), enchantments.getOrThrow(Enchantments.CHANNELING), enchantments.getOrThrow(Enchantments.IMPALING), enchantments.getOrThrow(Enchantments.MENDING)))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.DIAMOND_CHESTPLATE).setWeight(1)).apply(EnchantWithLevelsFunction.enchantWithLevels(this.registries, UniformGenerator.between(5.0f, 15.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.DIAMOND_AXE).setWeight(1)).apply(EnchantWithLevelsFunction.enchantWithLevels(this.registries, UniformGenerator.between(5.0f, 15.0f)))))));
output.accept(BuiltInLootTables.TRIAL_CHAMBERS_REWARD_COMMON, LootTable.lootTable().withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.ARROW).setWeight(4)).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 8.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.TIPPED_ARROW).setWeight(4)).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 8.0f)))).apply(SetPotionFunction.setPotion(Potions.POISON)))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.EMERALD).setWeight(4)).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 4.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.WIND_CHARGE).setWeight(3)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.IRON_INGOT).setWeight(3)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 4.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.HONEY_BOTTLE).setWeight(3)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 2.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.OMINOUS_BOTTLE).setWeight(2)).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f)))).apply(SetOminousBottleAmplifierFunction.setAmplifier(UniformGenerator.between(0.0f, 1.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.WIND_CHARGE).setWeight(1)).apply(SetItemCountFunction.setCount(UniformGenerator.between(4.0f, 12.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.DIAMOND).setWeight(1)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 2.0f)))))));
output.accept(BuiltInLootTables.TRIAL_CHAMBERS_REWARD_UNIQUE, LootTable.lootTable().withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.GOLDEN_APPLE).setWeight(4)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.BOLT_ARMOR_TRIM_SMITHING_TEMPLATE).setWeight(3)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.GUSTER_BANNER_PATTERN).setWeight(2)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.MUSIC_DISC_PRECIPICE).setWeight(2)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.TRIDENT).setWeight(1))));
output.accept(BuiltInLootTables.TRIAL_CHAMBERS_REWARD, LootTable.lootTable().withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).add((LootPoolEntryContainer.Builder<?>)NestedLootTable.lootTableReference(BuiltInLootTables.TRIAL_CHAMBERS_REWARD_RARE).setWeight(8)).add((LootPoolEntryContainer.Builder<?>)NestedLootTable.lootTableReference(BuiltInLootTables.TRIAL_CHAMBERS_REWARD_COMMON).setWeight(2))).withPool(LootPool.lootPool().setRolls(UniformGenerator.between(1.0f, 3.0f)).add(NestedLootTable.lootTableReference(BuiltInLootTables.TRIAL_CHAMBERS_REWARD_COMMON))).withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).when(LootItemRandomChanceCondition.randomChance(0.25f)).add(NestedLootTable.lootTableReference(BuiltInLootTables.TRIAL_CHAMBERS_REWARD_UNIQUE))));
output.accept(BuiltInLootTables.TRIAL_CHAMBERS_REWARD_OMINOUS_RARE, LootTable.lootTable().withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.EMERALD_BLOCK).setWeight(5)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.IRON_BLOCK).setWeight(4)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.CROSSBOW).setWeight(4)).apply(EnchantWithLevelsFunction.enchantWithLevels(this.registries, UniformGenerator.between(5.0f, 20.0f))))).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.GOLDEN_APPLE).setWeight(3)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.DIAMOND_AXE).setWeight(3)).apply(EnchantWithLevelsFunction.enchantWithLevels(this.registries, UniformGenerator.between(10.0f, 20.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.DIAMOND_CHESTPLATE).setWeight(3)).apply(EnchantWithLevelsFunction.enchantWithLevels(this.registries, UniformGenerator.between(10.0f, 20.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BOOK).setWeight(2)).apply(new EnchantRandomlyFunction.Builder().withOneOf(HolderSet.direct(enchantments.getOrThrow(Enchantments.KNOCKBACK), enchantments.getOrThrow(Enchantments.PUNCH), enchantments.getOrThrow(Enchantments.SMITE), enchantments.getOrThrow(Enchantments.LOOTING), enchantments.getOrThrow(Enchantments.MULTISHOT)))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BOOK).setWeight(2)).apply(new EnchantRandomlyFunction.Builder().withOneOf(HolderSet.direct(enchantments.getOrThrow(Enchantments.BREACH), enchantments.getOrThrow(Enchantments.DENSITY)))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BOOK).setWeight(2)).apply(new SetEnchantmentsFunction.Builder().withEnchantment(enchantments.getOrThrow(Enchantments.WIND_BURST), ConstantValue.exactly(1.0f))))).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.DIAMOND_BLOCK).setWeight(1))));
output.accept(BuiltInLootTables.TRIAL_CHAMBERS_REWARD_OMINOUS_COMMON, LootTable.lootTable().withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.EMERALD).setWeight(5)).apply(SetItemCountFunction.setCount(UniformGenerator.between(4.0f, 10.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.WIND_CHARGE).setWeight(4)).apply(SetItemCountFunction.setCount(UniformGenerator.between(8.0f, 12.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.TIPPED_ARROW).setWeight(3)).apply(SetItemCountFunction.setCount(UniformGenerator.between(4.0f, 12.0f)))).apply(SetPotionFunction.setPotion(Potions.STRONG_SLOWNESS)))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.DIAMOND).setWeight(2)).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.OMINOUS_BOTTLE).setWeight(1)).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f)))).apply(SetOminousBottleAmplifierFunction.setAmplifier(UniformGenerator.between(2.0f, 4.0f)))))));
output.accept(BuiltInLootTables.TRIAL_CHAMBERS_REWARD_OMINOUS_UNIQUE, LootTable.lootTable().withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.ENCHANTED_GOLDEN_APPLE).setWeight(3)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.FLOW_ARMOR_TRIM_SMITHING_TEMPLATE).setWeight(3)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.FLOW_BANNER_PATTERN).setWeight(2)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.MUSIC_DISC_CREATOR).setWeight(1)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.HEAVY_CORE).setWeight(1))));
output.accept(BuiltInLootTables.TRIAL_CHAMBERS_REWARD_OMINOUS, LootTable.lootTable().withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).add((LootPoolEntryContainer.Builder<?>)NestedLootTable.lootTableReference(BuiltInLootTables.TRIAL_CHAMBERS_REWARD_OMINOUS_RARE).setWeight(8)).add((LootPoolEntryContainer.Builder<?>)NestedLootTable.lootTableReference(BuiltInLootTables.TRIAL_CHAMBERS_REWARD_OMINOUS_COMMON).setWeight(2))).withPool(LootPool.lootPool().setRolls(UniformGenerator.between(1.0f, 3.0f)).add(NestedLootTable.lootTableReference(BuiltInLootTables.TRIAL_CHAMBERS_REWARD_OMINOUS_COMMON))).withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).when(LootItemRandomChanceCondition.randomChance(0.75f)).add(NestedLootTable.lootTableReference(BuiltInLootTables.TRIAL_CHAMBERS_REWARD_OMINOUS_UNIQUE))));
this.spawnerLootTables(output);
}
public void spawnerLootTables(BiConsumer<ResourceKey<LootTable>, LootTable.Builder> output) {
HolderGetter enchantments = this.registries.lookupOrThrow(Registries.ENCHANTMENT);
output.accept(BuiltInLootTables.SPAWNER_TRIAL_CHAMBER_KEY, LootTable.lootTable().withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).add(LootItem.lootTableItem(Items.TRIAL_KEY))));
output.accept(BuiltInLootTables.SPAWNER_TRIAL_CHAMBER_CONSUMABLES, LootTable.lootTable().withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.COOKED_CHICKEN).setWeight(3)).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BREAD).setWeight(3)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BAKED_POTATO).setWeight(2)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.POTION).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f)))).apply(SetPotionFunction.setPotion(Potions.REGENERATION)))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.POTION).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f)))).apply(SetPotionFunction.setPotion(Potions.SWIFTNESS))))));
output.accept(BuiltInLootTables.SPAWNER_OMINOUS_TRIAL_CHAMBER_KEY, LootTable.lootTable().withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).add(LootItem.lootTableItem(Items.OMINOUS_TRIAL_KEY))));
output.accept(BuiltInLootTables.SPAWNER_OMINOUS_TRIAL_CHAMBER_CONSUMABLES, LootTable.lootTable().withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.COOKED_BEEF).setWeight(3)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 2.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BAKED_POTATO).setWeight(3)).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 4.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.GOLDEN_CARROT).setWeight(2)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 2.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.POTION).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f)))).apply(SetPotionFunction.setPotion(Potions.REGENERATION)))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.POTION).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f)))).apply(SetPotionFunction.setPotion(Potions.STRENGTH))))));
output.accept(BuiltInLootTables.SPAWNER_TRIAL_ITEMS_TO_DROP_WHEN_OMINOUS, LootTable.lootTable().withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.LINGERING_POTION).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f)))).apply(SetPotionFunction.setPotion(Potions.WIND_CHARGED)))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.LINGERING_POTION).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f)))).apply(SetPotionFunction.setPotion(Potions.OOZING)))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.LINGERING_POTION).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f)))).apply(SetPotionFunction.setPotion(Potions.WEAVING)))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.LINGERING_POTION).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f)))).apply(SetPotionFunction.setPotion(Potions.INFESTED)))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.LINGERING_POTION).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f)))).apply(SetPotionFunction.setPotion(Potions.STRENGTH)))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.LINGERING_POTION).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f)))).apply(SetPotionFunction.setPotion(Potions.SWIFTNESS)))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.LINGERING_POTION).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f)))).apply(SetPotionFunction.setPotion(Potions.SLOW_FALLING))))).withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)LootItem.lootTableItem(Items.ARROW).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.ARROW).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f)))).apply(SetPotionFunction.setPotion(Potions.POISON)))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.ARROW).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f)))).apply(SetPotionFunction.setPotion(Potions.STRONG_SLOWNESS)))).add((LootPoolEntryContainer.Builder<?>)((Object)LootItem.lootTableItem(Items.FIRE_CHARGE).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)LootItem.lootTableItem(Items.WIND_CHARGE).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f)))))));
}
public LootTable.Builder shipwreckSupplyLootTable() {
return LootTable.lootTable().withPool(LootPool.lootPool().setRolls(UniformGenerator.between(3.0f, 10.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.PAPER).setWeight(8)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 12.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.POTATO).setWeight(7)).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 6.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.MOSS_BLOCK).setWeight(7)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 4.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.POISONOUS_POTATO).setWeight(7)).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 6.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.CARROT).setWeight(7)).apply(SetItemCountFunction.setCount(UniformGenerator.between(4.0f, 8.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.WHEAT).setWeight(7)).apply(SetItemCountFunction.setCount(UniformGenerator.between(8.0f, 21.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.SUSPICIOUS_STEW).setWeight(10)).apply(SetStewEffectFunction.stewEffect().withEffect(MobEffects.NIGHT_VISION, UniformGenerator.between(7.0f, 10.0f)).withEffect(MobEffects.JUMP_BOOST, UniformGenerator.between(7.0f, 10.0f)).withEffect(MobEffects.WEAKNESS, UniformGenerator.between(6.0f, 8.0f)).withEffect(MobEffects.BLINDNESS, UniformGenerator.between(5.0f, 7.0f)).withEffect(MobEffects.POISON, UniformGenerator.between(10.0f, 20.0f)).withEffect(MobEffects.SATURATION, UniformGenerator.between(7.0f, 10.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.COAL).setWeight(6)).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 8.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.ROTTEN_FLESH).setWeight(5)).apply(SetItemCountFunction.setCount(UniformGenerator.between(5.0f, 24.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Blocks.PUMPKIN).setWeight(2)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Blocks.BAMBOO).setWeight(2)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.GUNPOWDER).setWeight(3)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 5.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)LootItem.lootTableItem(Blocks.TNT).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 2.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.LEATHER_HELMET).setWeight(3)).apply(EnchantRandomlyFunction.randomApplicableEnchantment(this.registries)))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.LEATHER_CHESTPLATE).setWeight(3)).apply(EnchantRandomlyFunction.randomApplicableEnchantment(this.registries)))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.LEATHER_LEGGINGS).setWeight(3)).apply(EnchantRandomlyFunction.randomApplicableEnchantment(this.registries)))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.LEATHER_BOOTS).setWeight(3)).apply(EnchantRandomlyFunction.randomApplicableEnchantment(this.registries))))).withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).add((LootPoolEntryContainer.Builder<?>)EmptyLootItem.emptyItem().setWeight(5)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.COAST_ARMOR_TRIM_SMITHING_TEMPLATE).setWeight(1)).apply(SetItemCountFunction.setCount(ConstantValue.exactly(2.0f)))))).withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).add((LootPoolEntryContainer.Builder<?>)EmptyLootItem.emptyItem().setWeight(148)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.COPPER_NAUTILUS_ARMOR).setWeight(20)).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.IRON_NAUTILUS_ARMOR).setWeight(10)).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.GOLDEN_NAUTILUS_ARMOR).setWeight(5)).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.DIAMOND_NAUTILUS_ARMOR).setWeight(2)).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f))))));
}
public LootTable.Builder shipwreckMapLootTable() {
return LootTable.lootTable().withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.MAP).apply(ExplorationMapFunction.makeExplorationMap().setDestination(StructureTags.ON_TREASURE_MAPS).setMapDecoration(MapDecorationTypes.RED_X).setZoom((byte)1).setSkipKnownStructures(false))).apply(SetNameFunction.setName(Component.translatable("filled_map.buried_treasure"), SetNameFunction.Target.ITEM_NAME))))).withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(3.0f)).add(LootItem.lootTableItem(Items.COMPASS)).add(LootItem.lootTableItem(Items.MAP)).add(LootItem.lootTableItem(Items.CLOCK)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.PAPER).setWeight(20)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 10.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.FEATHER).setWeight(10)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 5.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BOOK).setWeight(5)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 5.0f)))))).withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).add((LootPoolEntryContainer.Builder<?>)EmptyLootItem.emptyItem().setWeight(5)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.COAST_ARMOR_TRIM_SMITHING_TEMPLATE).setWeight(1)).apply(SetItemCountFunction.setCount(ConstantValue.exactly(2.0f)))))).withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).add((LootPoolEntryContainer.Builder<?>)EmptyLootItem.emptyItem().setWeight(148)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.COPPER_NAUTILUS_ARMOR).setWeight(20)).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.IRON_NAUTILUS_ARMOR).setWeight(10)).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.GOLDEN_NAUTILUS_ARMOR).setWeight(5)).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.DIAMOND_NAUTILUS_ARMOR).setWeight(2)).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f))))));
}
public LootTable.Builder bastionHoglinStableLootTable() {
return LootTable.lootTable().withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.DIAMOND_SHOVEL).setWeight(15)).apply(SetItemDamageFunction.setDamage(UniformGenerator.between(0.15f, 0.8f)))).apply(EnchantRandomlyFunction.randomApplicableEnchantment(this.registries)))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)((LootPoolSingletonContainer.Builder)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.DIAMOND_PICKAXE).setWeight(12)).apply(SetItemDamageFunction.setDamage(UniformGenerator.between(0.15f, 0.95f)))).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f)))).apply(EnchantRandomlyFunction.randomApplicableEnchantment(this.registries)))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.NETHERITE_SCRAP).setWeight(8)).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.ANCIENT_DEBRIS).setWeight(12)).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.ANCIENT_DEBRIS).setWeight(5)).apply(SetItemCountFunction.setCount(ConstantValue.exactly(2.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.SADDLE).setWeight(12)).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Blocks.GOLD_BLOCK).setWeight(16)).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 4.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.GOLDEN_CARROT).setWeight(10)).apply(SetItemCountFunction.setCount(UniformGenerator.between(8.0f, 17.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.GOLDEN_APPLE).setWeight(10)).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f)))))).withPool(LootPool.lootPool().setRolls(UniformGenerator.between(3.0f, 4.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.GOLDEN_AXE).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f)))).apply(EnchantRandomlyFunction.randomApplicableEnchantment(this.registries)))).add((LootPoolEntryContainer.Builder<?>)((Object)LootItem.lootTableItem(Blocks.CRYING_OBSIDIAN).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 5.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)LootItem.lootTableItem(Blocks.GLOWSTONE).apply(SetItemCountFunction.setCount(UniformGenerator.between(3.0f, 6.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)LootItem.lootTableItem(Blocks.GILDED_BLACKSTONE).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 5.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)LootItem.lootTableItem(Blocks.SOUL_SAND).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 7.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)LootItem.lootTableItem(Blocks.CRIMSON_NYLIUM).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 7.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)LootItem.lootTableItem(Items.GOLD_NUGGET).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 8.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)LootItem.lootTableItem(Items.LEATHER).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)LootItem.lootTableItem(Items.ARROW).apply(SetItemCountFunction.setCount(UniformGenerator.between(5.0f, 17.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)LootItem.lootTableItem(Items.STRING).apply(SetItemCountFunction.setCount(UniformGenerator.between(3.0f, 8.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)LootItem.lootTableItem(Items.PORKCHOP).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 5.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)LootItem.lootTableItem(Items.COOKED_PORKCHOP).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 5.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)LootItem.lootTableItem(Blocks.CRIMSON_FUNGUS).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 7.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)LootItem.lootTableItem(Blocks.CRIMSON_ROOTS).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 7.0f)))))).withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).add((LootPoolEntryContainer.Builder<?>)EmptyLootItem.emptyItem().setWeight(11)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.SNOUT_ARMOR_TRIM_SMITHING_TEMPLATE).setWeight(1))).withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).add((LootPoolEntryContainer.Builder<?>)EmptyLootItem.emptyItem().setWeight(9)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.NETHERITE_UPGRADE_SMITHING_TEMPLATE).setWeight(1)));
}
public LootTable.Builder bastionBridgeLootTable() {
return LootTable.lootTable().withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)LootItem.lootTableItem(Blocks.LODESTONE).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f)))))).withPool(LootPool.lootPool().setRolls(UniformGenerator.between(1.0f, 2.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.CROSSBOW).apply(SetItemDamageFunction.setDamage(UniformGenerator.between(0.1f, 0.5f)))).apply(EnchantRandomlyFunction.randomApplicableEnchantment(this.registries)))).add((LootPoolEntryContainer.Builder<?>)((Object)LootItem.lootTableItem(Items.SPECTRAL_ARROW).apply(SetItemCountFunction.setCount(UniformGenerator.between(10.0f, 28.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)LootItem.lootTableItem(Blocks.GILDED_BLACKSTONE).apply(SetItemCountFunction.setCount(UniformGenerator.between(8.0f, 12.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)LootItem.lootTableItem(Blocks.CRYING_OBSIDIAN).apply(SetItemCountFunction.setCount(UniformGenerator.between(3.0f, 8.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)LootItem.lootTableItem(Blocks.GOLD_BLOCK).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)LootItem.lootTableItem(Items.GOLD_INGOT).apply(SetItemCountFunction.setCount(UniformGenerator.between(4.0f, 9.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)LootItem.lootTableItem(Items.IRON_INGOT).apply(SetItemCountFunction.setCount(UniformGenerator.between(4.0f, 9.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)LootItem.lootTableItem(Items.GOLDEN_SWORD).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.GOLDEN_CHESTPLATE).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f)))).apply(EnchantRandomlyFunction.randomApplicableEnchantment(this.registries)))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.GOLDEN_HELMET).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f)))).apply(EnchantRandomlyFunction.randomApplicableEnchantment(this.registries)))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.GOLDEN_LEGGINGS).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f)))).apply(EnchantRandomlyFunction.randomApplicableEnchantment(this.registries)))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.GOLDEN_BOOTS).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f)))).apply(EnchantRandomlyFunction.randomApplicableEnchantment(this.registries)))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.GOLDEN_AXE).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f)))).apply(EnchantRandomlyFunction.randomApplicableEnchantment(this.registries))))).withPool(LootPool.lootPool().setRolls(UniformGenerator.between(2.0f, 4.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)LootItem.lootTableItem(Items.STRING).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 6.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)LootItem.lootTableItem(Items.LEATHER).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)LootItem.lootTableItem(Items.ARROW).apply(SetItemCountFunction.setCount(UniformGenerator.between(5.0f, 17.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)LootItem.lootTableItem(Items.IRON_NUGGET).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 6.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)LootItem.lootTableItem(Items.GOLD_NUGGET).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 6.0f)))))).withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).add((LootPoolEntryContainer.Builder<?>)EmptyLootItem.emptyItem().setWeight(11)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.SNOUT_ARMOR_TRIM_SMITHING_TEMPLATE).setWeight(1))).withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).add((LootPoolEntryContainer.Builder<?>)EmptyLootItem.emptyItem().setWeight(9)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.NETHERITE_UPGRADE_SMITHING_TEMPLATE).setWeight(1)));
}
public LootTable.Builder endCityTreasureLootTable() {
return LootTable.lootTable().withPool(LootPool.lootPool().setRolls(UniformGenerator.between(2.0f, 6.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.DIAMOND).setWeight(5)).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 7.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.IRON_INGOT).setWeight(10)).apply(SetItemCountFunction.setCount(UniformGenerator.between(4.0f, 8.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.GOLD_INGOT).setWeight(15)).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 7.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.EMERALD).setWeight(2)).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 6.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BEETROOT_SEEDS).setWeight(5)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 10.0f))))).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.SADDLE).setWeight(3)).add(LootItem.lootTableItem(Items.COPPER_HORSE_ARMOR)).add(LootItem.lootTableItem(Items.IRON_HORSE_ARMOR)).add(LootItem.lootTableItem(Items.GOLDEN_HORSE_ARMOR)).add(LootItem.lootTableItem(Items.DIAMOND_HORSE_ARMOR)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.DIAMOND_SWORD).setWeight(3)).apply(EnchantWithLevelsFunction.enchantWithLevels(this.registries, UniformGenerator.between(20.0f, 39.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.DIAMOND_SPEAR).setWeight(3)).apply(EnchantWithLevelsFunction.enchantWithLevels(this.registries, UniformGenerator.between(20.0f, 39.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.DIAMOND_BOOTS).setWeight(3)).apply(EnchantWithLevelsFunction.enchantWithLevels(this.registries, UniformGenerator.between(20.0f, 39.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.DIAMOND_CHESTPLATE).setWeight(3)).apply(EnchantWithLevelsFunction.enchantWithLevels(this.registries, UniformGenerator.between(20.0f, 39.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.DIAMOND_LEGGINGS).setWeight(3)).apply(EnchantWithLevelsFunction.enchantWithLevels(this.registries, UniformGenerator.between(20.0f, 39.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.DIAMOND_HELMET).setWeight(3)).apply(EnchantWithLevelsFunction.enchantWithLevels(this.registries, UniformGenerator.between(20.0f, 39.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.DIAMOND_PICKAXE).setWeight(3)).apply(EnchantWithLevelsFunction.enchantWithLevels(this.registries, UniformGenerator.between(20.0f, 39.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.DIAMOND_SHOVEL).setWeight(3)).apply(EnchantWithLevelsFunction.enchantWithLevels(this.registries, UniformGenerator.between(20.0f, 39.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.IRON_SWORD).setWeight(3)).apply(EnchantWithLevelsFunction.enchantWithLevels(this.registries, UniformGenerator.between(20.0f, 39.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.IRON_BOOTS).setWeight(3)).apply(EnchantWithLevelsFunction.enchantWithLevels(this.registries, UniformGenerator.between(20.0f, 39.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.IRON_CHESTPLATE).setWeight(3)).apply(EnchantWithLevelsFunction.enchantWithLevels(this.registries, UniformGenerator.between(20.0f, 39.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.IRON_LEGGINGS).setWeight(3)).apply(EnchantWithLevelsFunction.enchantWithLevels(this.registries, UniformGenerator.between(20.0f, 39.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.IRON_HELMET).setWeight(3)).apply(EnchantWithLevelsFunction.enchantWithLevels(this.registries, UniformGenerator.between(20.0f, 39.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.IRON_PICKAXE).setWeight(3)).apply(EnchantWithLevelsFunction.enchantWithLevels(this.registries, UniformGenerator.between(20.0f, 39.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.IRON_SHOVEL).setWeight(3)).apply(EnchantWithLevelsFunction.enchantWithLevels(this.registries, UniformGenerator.between(20.0f, 39.0f)))))).withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).add((LootPoolEntryContainer.Builder<?>)EmptyLootItem.emptyItem().setWeight(14)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.SPIRE_ARMOR_TRIM_SMITHING_TEMPLATE).setWeight(1)));
}
public LootTable.Builder netherBridgeLootTable() {
return LootTable.lootTable().withPool(LootPool.lootPool().setRolls(UniformGenerator.between(2.0f, 4.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.DIAMOND).setWeight(5)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.IRON_INGOT).setWeight(5)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 5.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.GOLD_INGOT).setWeight(15)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.GOLDEN_SWORD).setWeight(5)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.GOLDEN_CHESTPLATE).setWeight(5)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.FLINT_AND_STEEL).setWeight(5)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.NETHER_WART).setWeight(5)).apply(SetItemCountFunction.setCount(UniformGenerator.between(3.0f, 7.0f))))).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.SADDLE).setWeight(10)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.GOLDEN_HORSE_ARMOR).setWeight(8)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.COPPER_HORSE_ARMOR).setWeight(5)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.IRON_HORSE_ARMOR).setWeight(5)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.DIAMOND_HORSE_ARMOR).setWeight(3)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Blocks.OBSIDIAN).setWeight(2)).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 4.0f)))))).withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).add((LootPoolEntryContainer.Builder<?>)EmptyLootItem.emptyItem().setWeight(14)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.RIB_ARMOR_TRIM_SMITHING_TEMPLATE).setWeight(1)));
}
public LootTable.Builder bastionTreasureLootTable() {
return LootTable.lootTable().withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(3.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.NETHERITE_INGOT).setWeight(15)).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Blocks.ANCIENT_DEBRIS).setWeight(10)).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.NETHERITE_SCRAP).setWeight(8)).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Blocks.ANCIENT_DEBRIS).setWeight(4)).apply(SetItemCountFunction.setCount(ConstantValue.exactly(2.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.DIAMOND_SWORD).setWeight(6)).apply(SetItemDamageFunction.setDamage(UniformGenerator.between(0.8f, 1.0f)))).apply(EnchantRandomlyFunction.randomApplicableEnchantment(this.registries)))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.DIAMOND_SPEAR).setWeight(6)).apply(SetItemDamageFunction.setDamage(UniformGenerator.between(0.8f, 1.0f)))).apply(EnchantRandomlyFunction.randomApplicableEnchantment(this.registries)))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.DIAMOND_CHESTPLATE).setWeight(6)).apply(SetItemDamageFunction.setDamage(UniformGenerator.between(0.8f, 1.0f)))).apply(EnchantRandomlyFunction.randomApplicableEnchantment(this.registries)))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.DIAMOND_HELMET).setWeight(6)).apply(SetItemDamageFunction.setDamage(UniformGenerator.between(0.8f, 1.0f)))).apply(EnchantRandomlyFunction.randomApplicableEnchantment(this.registries)))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.DIAMOND_LEGGINGS).setWeight(6)).apply(SetItemDamageFunction.setDamage(UniformGenerator.between(0.8f, 1.0f)))).apply(EnchantRandomlyFunction.randomApplicableEnchantment(this.registries)))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.DIAMOND_BOOTS).setWeight(6)).apply(SetItemDamageFunction.setDamage(UniformGenerator.between(0.8f, 1.0f)))).apply(EnchantRandomlyFunction.randomApplicableEnchantment(this.registries)))).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.DIAMOND_SWORD).setWeight(6)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.DIAMOND_SPEAR).setWeight(6)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.DIAMOND_CHESTPLATE).setWeight(5)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.DIAMOND_HELMET).setWeight(5)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.DIAMOND_BOOTS).setWeight(5)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.DIAMOND_LEGGINGS).setWeight(5)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.DIAMOND).setWeight(5)).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 6.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.ENCHANTED_GOLDEN_APPLE).setWeight(2)).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f)))))).withPool(LootPool.lootPool().setRolls(UniformGenerator.between(3.0f, 4.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)LootItem.lootTableItem(Items.SPECTRAL_ARROW).apply(SetItemCountFunction.setCount(UniformGenerator.between(12.0f, 25.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)LootItem.lootTableItem(Blocks.GOLD_BLOCK).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 5.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)LootItem.lootTableItem(Blocks.IRON_BLOCK).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 5.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)LootItem.lootTableItem(Items.GOLD_INGOT).apply(SetItemCountFunction.setCount(UniformGenerator.between(3.0f, 9.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)LootItem.lootTableItem(Items.IRON_INGOT).apply(SetItemCountFunction.setCount(UniformGenerator.between(3.0f, 9.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)LootItem.lootTableItem(Blocks.CRYING_OBSIDIAN).apply(SetItemCountFunction.setCount(UniformGenerator.between(3.0f, 5.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)LootItem.lootTableItem(Items.QUARTZ).apply(SetItemCountFunction.setCount(UniformGenerator.between(8.0f, 23.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)LootItem.lootTableItem(Blocks.GILDED_BLACKSTONE).apply(SetItemCountFunction.setCount(UniformGenerator.between(5.0f, 15.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)LootItem.lootTableItem(Items.MAGMA_CREAM).apply(SetItemCountFunction.setCount(UniformGenerator.between(3.0f, 8.0f)))))).withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).add((LootPoolEntryContainer.Builder<?>)EmptyLootItem.emptyItem().setWeight(11)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.SNOUT_ARMOR_TRIM_SMITHING_TEMPLATE).setWeight(1))).withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.NETHERITE_UPGRADE_SMITHING_TEMPLATE).setWeight(1)));
}
public LootTable.Builder bastionOtherLootTable() {
HolderGetter enchantments = this.registries.lookupOrThrow(Registries.ENCHANTMENT);
return LootTable.lootTable().withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.DIAMOND_PICKAXE).setWeight(6)).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f)))).apply(EnchantRandomlyFunction.randomApplicableEnchantment(this.registries)))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.DIAMOND_SHOVEL).setWeight(6)).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.CROSSBOW).setWeight(6)).apply(SetItemDamageFunction.setDamage(UniformGenerator.between(0.1f, 0.9f)))).apply(EnchantRandomlyFunction.randomApplicableEnchantment(this.registries)))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.ANCIENT_DEBRIS).setWeight(12)).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.NETHERITE_SCRAP).setWeight(4)).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.SPECTRAL_ARROW).setWeight(10)).apply(SetItemCountFunction.setCount(UniformGenerator.between(10.0f, 22.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.PIGLIN_BANNER_PATTERN).setWeight(9)).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.MUSIC_DISC_PIGSTEP).setWeight(5)).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.GOLDEN_CARROT).setWeight(12)).apply(SetItemCountFunction.setCount(UniformGenerator.between(6.0f, 17.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.GOLDEN_APPLE).setWeight(9)).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BOOK).setWeight(10)).apply(new EnchantRandomlyFunction.Builder().withEnchantment(enchantments.getOrThrow(Enchantments.SOUL_SPEED)))))).withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(2.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)((LootPoolSingletonContainer.Builder)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.IRON_SWORD).setWeight(2)).apply(SetItemDamageFunction.setDamage(UniformGenerator.between(0.1f, 0.9f)))).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f)))).apply(EnchantRandomlyFunction.randomApplicableEnchantment(this.registries)))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Blocks.IRON_BLOCK).setWeight(2)).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.GOLDEN_BOOTS).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f)))).apply(new EnchantRandomlyFunction.Builder().withEnchantment(enchantments.getOrThrow(Enchantments.SOUL_SPEED))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.GOLDEN_AXE).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f)))).apply(EnchantRandomlyFunction.randomApplicableEnchantment(this.registries)))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Blocks.GOLD_BLOCK).setWeight(2)).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)LootItem.lootTableItem(Items.CROSSBOW).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.GOLD_INGOT).setWeight(2)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 6.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.IRON_INGOT).setWeight(2)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 6.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)LootItem.lootTableItem(Items.GOLDEN_SWORD).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)LootItem.lootTableItem(Items.GOLDEN_CHESTPLATE).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)LootItem.lootTableItem(Items.GOLDEN_HELMET).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)LootItem.lootTableItem(Items.GOLDEN_LEGGINGS).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)LootItem.lootTableItem(Items.GOLDEN_BOOTS).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Blocks.CRYING_OBSIDIAN).setWeight(2)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 5.0f)))))).withPool(LootPool.lootPool().setRolls(UniformGenerator.between(3.0f, 4.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Blocks.GILDED_BLACKSTONE).setWeight(2)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 5.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)LootItem.lootTableItem(Blocks.IRON_CHAIN).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 10.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.MAGMA_CREAM).setWeight(2)).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 6.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)LootItem.lootTableItem(Blocks.BONE_BLOCK).apply(SetItemCountFunction.setCount(UniformGenerator.between(3.0f, 6.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)LootItem.lootTableItem(Items.IRON_NUGGET).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 8.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)LootItem.lootTableItem(Blocks.OBSIDIAN).apply(SetItemCountFunction.setCount(UniformGenerator.between(4.0f, 6.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)LootItem.lootTableItem(Items.GOLD_NUGGET).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 8.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)LootItem.lootTableItem(Items.STRING).apply(SetItemCountFunction.setCount(UniformGenerator.between(4.0f, 6.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.ARROW).setWeight(2)).apply(SetItemCountFunction.setCount(UniformGenerator.between(5.0f, 17.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)LootItem.lootTableItem(Items.COOKED_PORKCHOP).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f)))))).withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).add((LootPoolEntryContainer.Builder<?>)EmptyLootItem.emptyItem().setWeight(11)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.SNOUT_ARMOR_TRIM_SMITHING_TEMPLATE).setWeight(1))).withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).add((LootPoolEntryContainer.Builder<?>)EmptyLootItem.emptyItem().setWeight(9)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.NETHERITE_UPGRADE_SMITHING_TEMPLATE).setWeight(1)));
}
public LootTable.Builder woodlandMansionLootTable() {
return LootTable.lootTable().withPool(LootPool.lootPool().setRolls(UniformGenerator.between(1.0f, 3.0f)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.LEAD).setWeight(20)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.GOLDEN_APPLE).setWeight(15)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.ENCHANTED_GOLDEN_APPLE).setWeight(2)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.MUSIC_DISC_13).setWeight(15)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.MUSIC_DISC_CAT).setWeight(15)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.NAME_TAG).setWeight(20)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.CHAINMAIL_CHESTPLATE).setWeight(10)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.DIAMOND_HOE).setWeight(15)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.DIAMOND_CHESTPLATE).setWeight(5)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BOOK).setWeight(10)).apply(EnchantRandomlyFunction.randomApplicableEnchantment(this.registries))))).withPool(LootPool.lootPool().setRolls(UniformGenerator.between(1.0f, 4.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.IRON_INGOT).setWeight(10)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 4.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.GOLD_INGOT).setWeight(5)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 4.0f))))).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.BREAD).setWeight(20)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.WHEAT).setWeight(20)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 4.0f))))).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.BUCKET).setWeight(10)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.REDSTONE).setWeight(15)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 4.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.COAL).setWeight(15)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 4.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.MELON_SEEDS).setWeight(10)).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 4.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.PUMPKIN_SEEDS).setWeight(10)).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 4.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BEETROOT_SEEDS).setWeight(10)).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 4.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.RESIN_CLUMP).setWeight(50)).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 4.0f)))))).withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(3.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BONE).setWeight(10)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 8.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.GUNPOWDER).setWeight(10)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 8.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.ROTTEN_FLESH).setWeight(10)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 8.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.STRING).setWeight(10)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 8.0f)))))).withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).add((LootPoolEntryContainer.Builder<?>)EmptyLootItem.emptyItem().setWeight(1)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.VEX_ARMOR_TRIM_SMITHING_TEMPLATE).setWeight(1)));
}
public LootTable.Builder strongholdLibraryLootTable() {
return LootTable.lootTable().withPool(LootPool.lootPool().setRolls(UniformGenerator.between(2.0f, 10.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BOOK).setWeight(20)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.PAPER).setWeight(20)).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 7.0f))))).add(LootItem.lootTableItem(Items.MAP)).add(LootItem.lootTableItem(Items.COMPASS)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BOOK).setWeight(10)).apply(EnchantWithLevelsFunction.enchantWithLevels(this.registries, ConstantValue.exactly(30.0f)))))).withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.EYE_ARMOR_TRIM_SMITHING_TEMPLATE).setWeight(1)));
}
public LootTable.Builder strongholdCorridorLootTable() {
return LootTable.lootTable().withPool(LootPool.lootPool().setRolls(UniformGenerator.between(2.0f, 3.0f)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.ENDER_PEARL).setWeight(10)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.DIAMOND).setWeight(3)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.IRON_INGOT).setWeight(10)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 5.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.GOLD_INGOT).setWeight(5)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.REDSTONE).setWeight(5)).apply(SetItemCountFunction.setCount(UniformGenerator.between(4.0f, 9.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BREAD).setWeight(15)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.APPLE).setWeight(15)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.IRON_PICKAXE).setWeight(5)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.IRON_SWORD).setWeight(5)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.IRON_CHESTPLATE).setWeight(5)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.IRON_HELMET).setWeight(5)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.IRON_LEGGINGS).setWeight(5)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.IRON_BOOTS).setWeight(5)).add(LootItem.lootTableItem(Items.GOLDEN_APPLE)).add((LootPoolEntryContainer.Builder<?>)((Object)LootItem.lootTableItem(Items.LEATHER).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 5.0f))))).add(LootItem.lootTableItem(Items.COPPER_HORSE_ARMOR)).add(LootItem.lootTableItem(Items.IRON_HORSE_ARMOR)).add(LootItem.lootTableItem(Items.GOLDEN_HORSE_ARMOR)).add(LootItem.lootTableItem(Items.DIAMOND_HORSE_ARMOR)).add(LootItem.lootTableItem(Items.MUSIC_DISC_OTHERSIDE)).add((LootPoolEntryContainer.Builder<?>)((Object)LootItem.lootTableItem(Items.BOOK).apply(EnchantWithLevelsFunction.enchantWithLevels(this.registries, ConstantValue.exactly(30.0f)))))).withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).add((LootPoolEntryContainer.Builder<?>)EmptyLootItem.emptyItem().setWeight(9)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.EYE_ARMOR_TRIM_SMITHING_TEMPLATE).setWeight(1)));
}
public LootTable.Builder ancientCityLootTable() {
HolderGetter enchantments = this.registries.lookupOrThrow(Registries.ENCHANTMENT);
return LootTable.lootTable().withPool(LootPool.lootPool().setRolls(UniformGenerator.between(5.0f, 10.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.ENCHANTED_GOLDEN_APPLE).setWeight(1)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 2.0f))))).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.MUSIC_DISC_OTHERSIDE).setWeight(1)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.COMPASS).setWeight(2)).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.SCULK_CATALYST).setWeight(2)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 2.0f))))).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.NAME_TAG).setWeight(2)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)((LootPoolSingletonContainer.Builder)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.DIAMOND_HOE).setWeight(2)).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f)))).apply(SetItemDamageFunction.setDamage(UniformGenerator.between(0.8f, 1.0f)))).apply(EnchantWithLevelsFunction.enchantWithLevels(this.registries, UniformGenerator.between(30.0f, 50.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.LEAD).setWeight(2)).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.DIAMOND_HORSE_ARMOR).setWeight(2)).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.LEATHER).setWeight(2)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 5.0f))))).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.MUSIC_DISC_13).setWeight(2)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.MUSIC_DISC_CAT).setWeight(2)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.DIAMOND_LEGGINGS).setWeight(2)).apply(EnchantWithLevelsFunction.enchantWithLevels(this.registries, UniformGenerator.between(30.0f, 50.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BOOK).setWeight(3)).apply(new EnchantRandomlyFunction.Builder().withEnchantment(enchantments.getOrThrow(Enchantments.SWIFT_SNEAK))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.SCULK).setWeight(3)).apply(SetItemCountFunction.setCount(UniformGenerator.between(4.0f, 10.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.SCULK_SENSOR).setWeight(3)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.CANDLE).setWeight(3)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 4.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.AMETHYST_SHARD).setWeight(3)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 15.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.EXPERIENCE_BOTTLE).setWeight(3)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.GLOW_BERRIES).setWeight(3)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 15.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.IRON_LEGGINGS).setWeight(3)).apply(EnchantWithLevelsFunction.enchantWithLevels(this.registries, UniformGenerator.between(20.0f, 39.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.ECHO_SHARD).setWeight(4)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.DISC_FRAGMENT_5).setWeight(4)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.POTION).setWeight(5)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f)))).apply(SetPotionFunction.setPotion(Potions.STRONG_REGENERATION)))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BOOK).setWeight(5)).apply(EnchantRandomlyFunction.randomApplicableEnchantment(this.registries)))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BOOK).setWeight(5)).apply(SetItemCountFunction.setCount(UniformGenerator.between(3.0f, 10.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BONE).setWeight(5)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 15.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.SOUL_TORCH).setWeight(5)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 15.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.COAL).setWeight(7)).apply(SetItemCountFunction.setCount(UniformGenerator.between(6.0f, 15.0f)))))).withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).add((LootPoolEntryContainer.Builder<?>)EmptyLootItem.emptyItem().setWeight(75)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.WARD_ARMOR_TRIM_SMITHING_TEMPLATE).setWeight(4)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.SILENCE_ARMOR_TRIM_SMITHING_TEMPLATE).setWeight(1)));
}
public LootTable.Builder jungleTempleLootTable() {
return LootTable.lootTable().withPool(LootPool.lootPool().setRolls(UniformGenerator.between(2.0f, 6.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.DIAMOND).setWeight(3)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.IRON_INGOT).setWeight(10)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 5.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.GOLD_INGOT).setWeight(15)).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 7.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Blocks.BAMBOO).setWeight(15)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.EMERALD).setWeight(2)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BONE).setWeight(20)).apply(SetItemCountFunction.setCount(UniformGenerator.between(4.0f, 6.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.ROTTEN_FLESH).setWeight(16)).apply(SetItemCountFunction.setCount(UniformGenerator.between(3.0f, 7.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.LEATHER).setWeight(3)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 5.0f))))).add(LootItem.lootTableItem(Items.COPPER_HORSE_ARMOR)).add(LootItem.lootTableItem(Items.IRON_HORSE_ARMOR)).add(LootItem.lootTableItem(Items.GOLDEN_HORSE_ARMOR)).add(LootItem.lootTableItem(Items.DIAMOND_HORSE_ARMOR)).add((LootPoolEntryContainer.Builder<?>)((Object)LootItem.lootTableItem(Items.BOOK).apply(EnchantWithLevelsFunction.enchantWithLevels(this.registries, ConstantValue.exactly(30.0f)))))).withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).add((LootPoolEntryContainer.Builder<?>)EmptyLootItem.emptyItem().setWeight(2)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.WILD_ARMOR_TRIM_SMITHING_TEMPLATE).setWeight(1)).apply(SetItemCountFunction.setCount(ConstantValue.exactly(2.0f))))));
}
public LootTable.Builder shipwreckTreasureLootTable() {
return LootTable.lootTable().withPool(LootPool.lootPool().setRolls(UniformGenerator.between(3.0f, 6.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.IRON_INGOT).setWeight(90)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 5.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.GOLD_INGOT).setWeight(10)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 5.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.EMERALD).setWeight(40)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 5.0f))))).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.DIAMOND).setWeight(5)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.EXPERIENCE_BOTTLE).setWeight(5))).withPool(LootPool.lootPool().setRolls(UniformGenerator.between(2.0f, 5.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.IRON_NUGGET).setWeight(50)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 10.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.GOLD_NUGGET).setWeight(10)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 10.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.LAPIS_LAZULI).setWeight(20)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 10.0f)))))).withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).add((LootPoolEntryContainer.Builder<?>)EmptyLootItem.emptyItem().setWeight(5)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.COAST_ARMOR_TRIM_SMITHING_TEMPLATE).setWeight(1)).apply(SetItemCountFunction.setCount(ConstantValue.exactly(2.0f)))))).withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).add((LootPoolEntryContainer.Builder<?>)EmptyLootItem.emptyItem().setWeight(148)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.COPPER_NAUTILUS_ARMOR).setWeight(20)).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.IRON_NAUTILUS_ARMOR).setWeight(10)).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.GOLDEN_NAUTILUS_ARMOR).setWeight(5)).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.DIAMOND_NAUTILUS_ARMOR).setWeight(2)).apply(SetItemCountFunction.setCount(ConstantValue.exactly(1.0f))))));
}
public LootTable.Builder pillagerOutpostLootTable() {
return LootTable.lootTable().withPool(LootPool.lootPool().setRolls(UniformGenerator.between(0.0f, 1.0f)).add(LootItem.lootTableItem(Items.CROSSBOW))).withPool(LootPool.lootPool().setRolls(UniformGenerator.between(2.0f, 3.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.WHEAT).setWeight(7)).apply(SetItemCountFunction.setCount(UniformGenerator.between(3.0f, 5.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.POTATO).setWeight(5)).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 5.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.CARROT).setWeight(5)).apply(SetItemCountFunction.setCount(UniformGenerator.between(3.0f, 5.0f)))))).withPool(LootPool.lootPool().setRolls(UniformGenerator.between(1.0f, 3.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)LootItem.lootTableItem(Blocks.DARK_OAK_LOG).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 3.0f)))))).withPool(LootPool.lootPool().setRolls(UniformGenerator.between(2.0f, 3.0f)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.EXPERIENCE_BOTTLE).setWeight(7)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.STRING).setWeight(4)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 6.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.ARROW).setWeight(4)).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 7.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.TRIPWIRE_HOOK).setWeight(3)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.IRON_INGOT).setWeight(3)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BOOK).setWeight(1)).apply(EnchantRandomlyFunction.randomApplicableEnchantment(this.registries))))).withPool(LootPool.lootPool().setRolls(UniformGenerator.between(0.0f, 1.0f)).add(LootItem.lootTableItem(Items.GOAT_HORN)).apply(SetInstrumentFunction.setInstrumentOptions(InstrumentTags.REGULAR_GOAT_HORNS))).withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).add((LootPoolEntryContainer.Builder<?>)EmptyLootItem.emptyItem().setWeight(3)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.SENTRY_ARMOR_TRIM_SMITHING_TEMPLATE).setWeight(1)).apply(SetItemCountFunction.setCount(ConstantValue.exactly(2.0f))))));
}
public LootTable.Builder desertPyramidLootTable() {
return LootTable.lootTable().withPool(LootPool.lootPool().setRolls(UniformGenerator.between(2.0f, 4.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.DIAMOND).setWeight(5)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.IRON_INGOT).setWeight(15)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 5.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.GOLD_INGOT).setWeight(15)).apply(SetItemCountFunction.setCount(UniformGenerator.between(2.0f, 7.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.EMERALD).setWeight(15)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BONE).setWeight(25)).apply(SetItemCountFunction.setCount(UniformGenerator.between(4.0f, 6.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.SPIDER_EYE).setWeight(25)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 3.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.ROTTEN_FLESH).setWeight(25)).apply(SetItemCountFunction.setCount(UniformGenerator.between(3.0f, 7.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.LEATHER).setWeight(20)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 5.0f))))).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.COPPER_HORSE_ARMOR).setWeight(15)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.IRON_HORSE_ARMOR).setWeight(15)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.GOLDEN_HORSE_ARMOR).setWeight(10)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.DIAMOND_HORSE_ARMOR).setWeight(5)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BOOK).setWeight(20)).apply(EnchantRandomlyFunction.randomApplicableEnchantment(this.registries)))).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.GOLDEN_APPLE).setWeight(20)).add((LootPoolEntryContainer.Builder<?>)LootItem.lootTableItem(Items.ENCHANTED_GOLDEN_APPLE).setWeight(2)).add((LootPoolEntryContainer.Builder<?>)EmptyLootItem.emptyItem().setWeight(15))).withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(4.0f)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.BONE).setWeight(10)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 8.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.GUNPOWDER).setWeight(10)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 8.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.ROTTEN_FLESH).setWeight(10)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 8.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.STRING).setWeight(10)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 8.0f))))).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Blocks.SAND).setWeight(10)).apply(SetItemCountFunction.setCount(UniformGenerator.between(1.0f, 8.0f)))))).withPool(LootPool.lootPool().setRolls(ConstantValue.exactly(1.0f)).add((LootPoolEntryContainer.Builder<?>)EmptyLootItem.emptyItem().setWeight(6)).add((LootPoolEntryContainer.Builder<?>)((Object)((LootPoolSingletonContainer.Builder)LootItem.lootTableItem(Items.DUNE_ARMOR_TRIM_SMITHING_TEMPLATE).setWeight(1)).apply(SetItemCountFunction.setCount(ConstantValue.exactly(2.0f))))));
}
}