mirror of
https://github.com/Pumpkin-MC/Pumpkin.git
synced 2026-08-30 20:14:23 +00:00
5555 lines
139 KiB
Rust
5555 lines
139 KiB
Rust
/* This file is generated. Do not edit manually. */
|
|
pub use pumpkin_util::chest_loot_table::*;
|
|
static ABANDONED_MINESHAFT_POOL0_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:golden_apple",
|
|
weight: 20i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:enchanted_golden_apple",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:name_tag",
|
|
weight: 30i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:book",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_pickaxe",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
];
|
|
static ABANDONED_MINESHAFT_POOL1_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_ingot",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 5i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:gold_ingot",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:redstone",
|
|
weight: 5i32,
|
|
min_count: 4i32,
|
|
max_count: 9i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:lapis_lazuli",
|
|
weight: 5i32,
|
|
min_count: 4i32,
|
|
max_count: 9i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond",
|
|
weight: 3i32,
|
|
min_count: 1i32,
|
|
max_count: 2i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:coal",
|
|
weight: 10i32,
|
|
min_count: 3i32,
|
|
max_count: 8i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:bread",
|
|
weight: 15i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:glow_berries",
|
|
weight: 15i32,
|
|
min_count: 3i32,
|
|
max_count: 6i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:melon_seeds",
|
|
weight: 10i32,
|
|
min_count: 2i32,
|
|
max_count: 4i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:pumpkin_seeds",
|
|
weight: 10i32,
|
|
min_count: 2i32,
|
|
max_count: 4i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:beetroot_seeds",
|
|
weight: 10i32,
|
|
min_count: 2i32,
|
|
max_count: 4i32,
|
|
},
|
|
];
|
|
static ABANDONED_MINESHAFT_POOL2_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:rail",
|
|
weight: 20i32,
|
|
min_count: 4i32,
|
|
max_count: 8i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:powered_rail",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 4i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:detector_rail",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 4i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:activator_rail",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 4i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:torch",
|
|
weight: 15i32,
|
|
min_count: 1i32,
|
|
max_count: 16i32,
|
|
},
|
|
];
|
|
static ABANDONED_MINESHAFT_POOLS: &[ChestLootPool] = &[
|
|
ChestLootPool {
|
|
entries: ABANDONED_MINESHAFT_POOL0_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 1i32,
|
|
empty_weight: 5i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: ABANDONED_MINESHAFT_POOL1_ENTRIES,
|
|
min_rolls: 2i32,
|
|
max_rolls: 4i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: ABANDONED_MINESHAFT_POOL2_ENTRIES,
|
|
min_rolls: 3i32,
|
|
max_rolls: 3i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
];
|
|
pub static ABANDONED_MINESHAFT: ChestLootTable = ChestLootTable {
|
|
pools: ABANDONED_MINESHAFT_POOLS,
|
|
};
|
|
static ANCIENT_CITY_POOL0_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:enchanted_golden_apple",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 2i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:music_disc_otherside",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:compass",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:sculk_catalyst",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 2i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond_hoe",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:lead",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond_horse_armor",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:leather",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 5i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:music_disc_13",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:music_disc_cat",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond_leggings",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:book",
|
|
weight: 3i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:sculk",
|
|
weight: 3i32,
|
|
min_count: 4i32,
|
|
max_count: 10i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:sculk_sensor",
|
|
weight: 3i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:candle",
|
|
weight: 3i32,
|
|
min_count: 1i32,
|
|
max_count: 4i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:amethyst_shard",
|
|
weight: 3i32,
|
|
min_count: 1i32,
|
|
max_count: 15i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:experience_bottle",
|
|
weight: 3i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:glow_berries",
|
|
weight: 3i32,
|
|
min_count: 1i32,
|
|
max_count: 15i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_leggings",
|
|
weight: 3i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:echo_shard",
|
|
weight: 4i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:disc_fragment_5",
|
|
weight: 4i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:potion",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:book",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:book",
|
|
weight: 5i32,
|
|
min_count: 3i32,
|
|
max_count: 10i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:bone",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 15i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:soul_torch",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 15i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:coal",
|
|
weight: 7i32,
|
|
min_count: 6i32,
|
|
max_count: 15i32,
|
|
},
|
|
];
|
|
static ANCIENT_CITY_POOL1_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:ward_armor_trim_smithing_template",
|
|
weight: 4i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:silence_armor_trim_smithing_template",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
];
|
|
static ANCIENT_CITY_POOLS: &[ChestLootPool] = &[
|
|
ChestLootPool {
|
|
entries: ANCIENT_CITY_POOL0_ENTRIES,
|
|
min_rolls: 5i32,
|
|
max_rolls: 10i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: ANCIENT_CITY_POOL1_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 1i32,
|
|
empty_weight: 75i32,
|
|
},
|
|
];
|
|
pub static ANCIENT_CITY: ChestLootTable = ChestLootTable {
|
|
pools: ANCIENT_CITY_POOLS,
|
|
};
|
|
static ANCIENT_CITY_ICE_BOX_POOL0_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:suspicious_stew",
|
|
weight: 1i32,
|
|
min_count: 2i32,
|
|
max_count: 6i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:golden_carrot",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 10i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:baked_potato",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 10i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:packed_ice",
|
|
weight: 2i32,
|
|
min_count: 2i32,
|
|
max_count: 6i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:snowball",
|
|
weight: 4i32,
|
|
min_count: 2i32,
|
|
max_count: 6i32,
|
|
},
|
|
];
|
|
static ANCIENT_CITY_ICE_BOX_POOLS: &[ChestLootPool] = &[ChestLootPool {
|
|
entries: ANCIENT_CITY_ICE_BOX_POOL0_ENTRIES,
|
|
min_rolls: 4i32,
|
|
max_rolls: 10i32,
|
|
empty_weight: 0i32,
|
|
}];
|
|
pub static ANCIENT_CITY_ICE_BOX: ChestLootTable = ChestLootTable {
|
|
pools: ANCIENT_CITY_ICE_BOX_POOLS,
|
|
};
|
|
static BASTION_BRIDGE_POOL0_ENTRIES: &[ChestLootEntry] = &[ChestLootEntry {
|
|
item: "minecraft:lodestone",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
}];
|
|
static BASTION_BRIDGE_POOL1_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:crossbow",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:spectral_arrow",
|
|
weight: 1i32,
|
|
min_count: 10i32,
|
|
max_count: 28i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:gilded_blackstone",
|
|
weight: 1i32,
|
|
min_count: 8i32,
|
|
max_count: 12i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:crying_obsidian",
|
|
weight: 1i32,
|
|
min_count: 3i32,
|
|
max_count: 8i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:gold_block",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:gold_ingot",
|
|
weight: 1i32,
|
|
min_count: 4i32,
|
|
max_count: 9i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_ingot",
|
|
weight: 1i32,
|
|
min_count: 4i32,
|
|
max_count: 9i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:golden_sword",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:golden_chestplate",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:golden_helmet",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:golden_leggings",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:golden_boots",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:golden_axe",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
];
|
|
static BASTION_BRIDGE_POOL2_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:string",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 6i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:leather",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:arrow",
|
|
weight: 1i32,
|
|
min_count: 5i32,
|
|
max_count: 17i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_nugget",
|
|
weight: 1i32,
|
|
min_count: 2i32,
|
|
max_count: 6i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:gold_nugget",
|
|
weight: 1i32,
|
|
min_count: 2i32,
|
|
max_count: 6i32,
|
|
},
|
|
];
|
|
static BASTION_BRIDGE_POOL3_ENTRIES: &[ChestLootEntry] = &[ChestLootEntry {
|
|
item: "minecraft:snout_armor_trim_smithing_template",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
}];
|
|
static BASTION_BRIDGE_POOL4_ENTRIES: &[ChestLootEntry] = &[ChestLootEntry {
|
|
item: "minecraft:netherite_upgrade_smithing_template",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
}];
|
|
static BASTION_BRIDGE_POOLS: &[ChestLootPool] = &[
|
|
ChestLootPool {
|
|
entries: BASTION_BRIDGE_POOL0_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 1i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: BASTION_BRIDGE_POOL1_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 2i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: BASTION_BRIDGE_POOL2_ENTRIES,
|
|
min_rolls: 2i32,
|
|
max_rolls: 4i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: BASTION_BRIDGE_POOL3_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 1i32,
|
|
empty_weight: 11i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: BASTION_BRIDGE_POOL4_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 1i32,
|
|
empty_weight: 9i32,
|
|
},
|
|
];
|
|
pub static BASTION_BRIDGE: ChestLootTable = ChestLootTable {
|
|
pools: BASTION_BRIDGE_POOLS,
|
|
};
|
|
static BASTION_HOGLIN_STABLE_POOL0_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond_shovel",
|
|
weight: 15i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond_pickaxe",
|
|
weight: 12i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:netherite_scrap",
|
|
weight: 8i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:ancient_debris",
|
|
weight: 12i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:ancient_debris",
|
|
weight: 5i32,
|
|
min_count: 2i32,
|
|
max_count: 2i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:saddle",
|
|
weight: 12i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:gold_block",
|
|
weight: 16i32,
|
|
min_count: 2i32,
|
|
max_count: 4i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:golden_carrot",
|
|
weight: 10i32,
|
|
min_count: 8i32,
|
|
max_count: 17i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:golden_apple",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
];
|
|
static BASTION_HOGLIN_STABLE_POOL1_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:golden_axe",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:crying_obsidian",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 5i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:glowstone",
|
|
weight: 1i32,
|
|
min_count: 3i32,
|
|
max_count: 6i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:gilded_blackstone",
|
|
weight: 1i32,
|
|
min_count: 2i32,
|
|
max_count: 5i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:soul_sand",
|
|
weight: 1i32,
|
|
min_count: 2i32,
|
|
max_count: 7i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:crimson_nylium",
|
|
weight: 1i32,
|
|
min_count: 2i32,
|
|
max_count: 7i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:gold_nugget",
|
|
weight: 1i32,
|
|
min_count: 2i32,
|
|
max_count: 8i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:leather",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:arrow",
|
|
weight: 1i32,
|
|
min_count: 5i32,
|
|
max_count: 17i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:string",
|
|
weight: 1i32,
|
|
min_count: 3i32,
|
|
max_count: 8i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:porkchop",
|
|
weight: 1i32,
|
|
min_count: 2i32,
|
|
max_count: 5i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:cooked_porkchop",
|
|
weight: 1i32,
|
|
min_count: 2i32,
|
|
max_count: 5i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:crimson_fungus",
|
|
weight: 1i32,
|
|
min_count: 2i32,
|
|
max_count: 7i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:crimson_roots",
|
|
weight: 1i32,
|
|
min_count: 2i32,
|
|
max_count: 7i32,
|
|
},
|
|
];
|
|
static BASTION_HOGLIN_STABLE_POOL2_ENTRIES: &[ChestLootEntry] = &[ChestLootEntry {
|
|
item: "minecraft:snout_armor_trim_smithing_template",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
}];
|
|
static BASTION_HOGLIN_STABLE_POOL3_ENTRIES: &[ChestLootEntry] = &[ChestLootEntry {
|
|
item: "minecraft:netherite_upgrade_smithing_template",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
}];
|
|
static BASTION_HOGLIN_STABLE_POOLS: &[ChestLootPool] = &[
|
|
ChestLootPool {
|
|
entries: BASTION_HOGLIN_STABLE_POOL0_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 1i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: BASTION_HOGLIN_STABLE_POOL1_ENTRIES,
|
|
min_rolls: 3i32,
|
|
max_rolls: 4i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: BASTION_HOGLIN_STABLE_POOL2_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 1i32,
|
|
empty_weight: 11i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: BASTION_HOGLIN_STABLE_POOL3_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 1i32,
|
|
empty_weight: 9i32,
|
|
},
|
|
];
|
|
pub static BASTION_HOGLIN_STABLE: ChestLootTable = ChestLootTable {
|
|
pools: BASTION_HOGLIN_STABLE_POOLS,
|
|
};
|
|
static BASTION_OTHER_POOL0_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond_pickaxe",
|
|
weight: 6i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond_shovel",
|
|
weight: 6i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:crossbow",
|
|
weight: 6i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:ancient_debris",
|
|
weight: 12i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:netherite_scrap",
|
|
weight: 4i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:spectral_arrow",
|
|
weight: 10i32,
|
|
min_count: 10i32,
|
|
max_count: 22i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:piglin_banner_pattern",
|
|
weight: 9i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:music_disc_pigstep",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:golden_carrot",
|
|
weight: 12i32,
|
|
min_count: 6i32,
|
|
max_count: 17i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:golden_apple",
|
|
weight: 9i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:book",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
];
|
|
static BASTION_OTHER_POOL1_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_sword",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_block",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:golden_boots",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:golden_axe",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:gold_block",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:crossbow",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:gold_ingot",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 6i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_ingot",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 6i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:golden_sword",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:golden_chestplate",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:golden_helmet",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:golden_leggings",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:golden_boots",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:crying_obsidian",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 5i32,
|
|
},
|
|
];
|
|
static BASTION_OTHER_POOL2_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:gilded_blackstone",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 5i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_chain",
|
|
weight: 1i32,
|
|
min_count: 2i32,
|
|
max_count: 10i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:magma_cream",
|
|
weight: 2i32,
|
|
min_count: 2i32,
|
|
max_count: 6i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:bone_block",
|
|
weight: 1i32,
|
|
min_count: 3i32,
|
|
max_count: 6i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_nugget",
|
|
weight: 1i32,
|
|
min_count: 2i32,
|
|
max_count: 8i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:obsidian",
|
|
weight: 1i32,
|
|
min_count: 4i32,
|
|
max_count: 6i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:gold_nugget",
|
|
weight: 1i32,
|
|
min_count: 2i32,
|
|
max_count: 8i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:string",
|
|
weight: 1i32,
|
|
min_count: 4i32,
|
|
max_count: 6i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:arrow",
|
|
weight: 2i32,
|
|
min_count: 5i32,
|
|
max_count: 17i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:cooked_porkchop",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
];
|
|
static BASTION_OTHER_POOL3_ENTRIES: &[ChestLootEntry] = &[ChestLootEntry {
|
|
item: "minecraft:snout_armor_trim_smithing_template",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
}];
|
|
static BASTION_OTHER_POOL4_ENTRIES: &[ChestLootEntry] = &[ChestLootEntry {
|
|
item: "minecraft:netherite_upgrade_smithing_template",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
}];
|
|
static BASTION_OTHER_POOLS: &[ChestLootPool] = &[
|
|
ChestLootPool {
|
|
entries: BASTION_OTHER_POOL0_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 1i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: BASTION_OTHER_POOL1_ENTRIES,
|
|
min_rolls: 2i32,
|
|
max_rolls: 2i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: BASTION_OTHER_POOL2_ENTRIES,
|
|
min_rolls: 3i32,
|
|
max_rolls: 4i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: BASTION_OTHER_POOL3_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 1i32,
|
|
empty_weight: 11i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: BASTION_OTHER_POOL4_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 1i32,
|
|
empty_weight: 9i32,
|
|
},
|
|
];
|
|
pub static BASTION_OTHER: ChestLootTable = ChestLootTable {
|
|
pools: BASTION_OTHER_POOLS,
|
|
};
|
|
static BASTION_TREASURE_POOL0_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:netherite_ingot",
|
|
weight: 15i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:ancient_debris",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:netherite_scrap",
|
|
weight: 8i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:ancient_debris",
|
|
weight: 4i32,
|
|
min_count: 2i32,
|
|
max_count: 2i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond_sword",
|
|
weight: 6i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond_spear",
|
|
weight: 6i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond_chestplate",
|
|
weight: 6i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond_helmet",
|
|
weight: 6i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond_leggings",
|
|
weight: 6i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond_boots",
|
|
weight: 6i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond_sword",
|
|
weight: 6i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond_spear",
|
|
weight: 6i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond_chestplate",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond_helmet",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond_boots",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond_leggings",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond",
|
|
weight: 5i32,
|
|
min_count: 2i32,
|
|
max_count: 6i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:enchanted_golden_apple",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
];
|
|
static BASTION_TREASURE_POOL1_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:spectral_arrow",
|
|
weight: 1i32,
|
|
min_count: 12i32,
|
|
max_count: 25i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:gold_block",
|
|
weight: 1i32,
|
|
min_count: 2i32,
|
|
max_count: 5i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_block",
|
|
weight: 1i32,
|
|
min_count: 2i32,
|
|
max_count: 5i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:gold_ingot",
|
|
weight: 1i32,
|
|
min_count: 3i32,
|
|
max_count: 9i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_ingot",
|
|
weight: 1i32,
|
|
min_count: 3i32,
|
|
max_count: 9i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:crying_obsidian",
|
|
weight: 1i32,
|
|
min_count: 3i32,
|
|
max_count: 5i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:quartz",
|
|
weight: 1i32,
|
|
min_count: 8i32,
|
|
max_count: 23i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:gilded_blackstone",
|
|
weight: 1i32,
|
|
min_count: 5i32,
|
|
max_count: 15i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:magma_cream",
|
|
weight: 1i32,
|
|
min_count: 3i32,
|
|
max_count: 8i32,
|
|
},
|
|
];
|
|
static BASTION_TREASURE_POOL2_ENTRIES: &[ChestLootEntry] = &[ChestLootEntry {
|
|
item: "minecraft:snout_armor_trim_smithing_template",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
}];
|
|
static BASTION_TREASURE_POOL3_ENTRIES: &[ChestLootEntry] = &[ChestLootEntry {
|
|
item: "minecraft:netherite_upgrade_smithing_template",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
}];
|
|
static BASTION_TREASURE_POOLS: &[ChestLootPool] = &[
|
|
ChestLootPool {
|
|
entries: BASTION_TREASURE_POOL0_ENTRIES,
|
|
min_rolls: 3i32,
|
|
max_rolls: 3i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: BASTION_TREASURE_POOL1_ENTRIES,
|
|
min_rolls: 3i32,
|
|
max_rolls: 4i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: BASTION_TREASURE_POOL2_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 1i32,
|
|
empty_weight: 11i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: BASTION_TREASURE_POOL3_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 1i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
];
|
|
pub static BASTION_TREASURE: ChestLootTable = ChestLootTable {
|
|
pools: BASTION_TREASURE_POOLS,
|
|
};
|
|
static BURIED_TREASURE_POOL0_ENTRIES: &[ChestLootEntry] = &[ChestLootEntry {
|
|
item: "minecraft:heart_of_the_sea",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
}];
|
|
static BURIED_TREASURE_POOL1_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_ingot",
|
|
weight: 20i32,
|
|
min_count: 1i32,
|
|
max_count: 4i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:gold_ingot",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 4i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:tnt",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 2i32,
|
|
},
|
|
];
|
|
static BURIED_TREASURE_POOL2_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:emerald",
|
|
weight: 5i32,
|
|
min_count: 4i32,
|
|
max_count: 8i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 2i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:prismarine_crystals",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 5i32,
|
|
},
|
|
];
|
|
static BURIED_TREASURE_POOL3_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:leather_chestplate",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_sword",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_spear",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
];
|
|
static BURIED_TREASURE_POOL4_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:cooked_cod",
|
|
weight: 1i32,
|
|
min_count: 2i32,
|
|
max_count: 4i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:cooked_salmon",
|
|
weight: 1i32,
|
|
min_count: 2i32,
|
|
max_count: 4i32,
|
|
},
|
|
];
|
|
static BURIED_TREASURE_POOL5_ENTRIES: &[ChestLootEntry] = &[ChestLootEntry {
|
|
item: "minecraft:potion",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
}];
|
|
static BURIED_TREASURE_POOL6_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:copper_nautilus_armor",
|
|
weight: 20i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_nautilus_armor",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:golden_nautilus_armor",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond_nautilus_armor",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
];
|
|
static BURIED_TREASURE_POOLS: &[ChestLootPool] = &[
|
|
ChestLootPool {
|
|
entries: BURIED_TREASURE_POOL0_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 1i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: BURIED_TREASURE_POOL1_ENTRIES,
|
|
min_rolls: 5i32,
|
|
max_rolls: 8i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: BURIED_TREASURE_POOL2_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 3i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: BURIED_TREASURE_POOL3_ENTRIES,
|
|
min_rolls: 0i32,
|
|
max_rolls: 1i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: BURIED_TREASURE_POOL4_ENTRIES,
|
|
min_rolls: 2i32,
|
|
max_rolls: 2i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: BURIED_TREASURE_POOL5_ENTRIES,
|
|
min_rolls: 0i32,
|
|
max_rolls: 2i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: BURIED_TREASURE_POOL6_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 1i32,
|
|
empty_weight: 148i32,
|
|
},
|
|
];
|
|
pub static BURIED_TREASURE: ChestLootTable = ChestLootTable {
|
|
pools: BURIED_TREASURE_POOLS,
|
|
};
|
|
static DESERT_PYRAMID_POOL0_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_ingot",
|
|
weight: 15i32,
|
|
min_count: 1i32,
|
|
max_count: 5i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:gold_ingot",
|
|
weight: 15i32,
|
|
min_count: 2i32,
|
|
max_count: 7i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:emerald",
|
|
weight: 15i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:bone",
|
|
weight: 25i32,
|
|
min_count: 4i32,
|
|
max_count: 6i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:spider_eye",
|
|
weight: 25i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:rotten_flesh",
|
|
weight: 25i32,
|
|
min_count: 3i32,
|
|
max_count: 7i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:leather",
|
|
weight: 20i32,
|
|
min_count: 1i32,
|
|
max_count: 5i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:copper_horse_armor",
|
|
weight: 15i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_horse_armor",
|
|
weight: 15i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:golden_horse_armor",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond_horse_armor",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:book",
|
|
weight: 20i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:golden_apple",
|
|
weight: 20i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:enchanted_golden_apple",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
];
|
|
static DESERT_PYRAMID_POOL1_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:bone",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 8i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:gunpowder",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 8i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:rotten_flesh",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 8i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:string",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 8i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:sand",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 8i32,
|
|
},
|
|
];
|
|
static DESERT_PYRAMID_POOL2_ENTRIES: &[ChestLootEntry] = &[ChestLootEntry {
|
|
item: "minecraft:dune_armor_trim_smithing_template",
|
|
weight: 1i32,
|
|
min_count: 2i32,
|
|
max_count: 2i32,
|
|
}];
|
|
static DESERT_PYRAMID_POOLS: &[ChestLootPool] = &[
|
|
ChestLootPool {
|
|
entries: DESERT_PYRAMID_POOL0_ENTRIES,
|
|
min_rolls: 2i32,
|
|
max_rolls: 4i32,
|
|
empty_weight: 15i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: DESERT_PYRAMID_POOL1_ENTRIES,
|
|
min_rolls: 4i32,
|
|
max_rolls: 4i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: DESERT_PYRAMID_POOL2_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 1i32,
|
|
empty_weight: 6i32,
|
|
},
|
|
];
|
|
pub static DESERT_PYRAMID: ChestLootTable = ChestLootTable {
|
|
pools: DESERT_PYRAMID_POOLS,
|
|
};
|
|
static END_CITY_TREASURE_POOL0_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond",
|
|
weight: 5i32,
|
|
min_count: 2i32,
|
|
max_count: 7i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_ingot",
|
|
weight: 10i32,
|
|
min_count: 4i32,
|
|
max_count: 8i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:gold_ingot",
|
|
weight: 15i32,
|
|
min_count: 2i32,
|
|
max_count: 7i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:emerald",
|
|
weight: 2i32,
|
|
min_count: 2i32,
|
|
max_count: 6i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:beetroot_seeds",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 10i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:saddle",
|
|
weight: 3i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:copper_horse_armor",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_horse_armor",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:golden_horse_armor",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond_horse_armor",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond_sword",
|
|
weight: 3i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond_spear",
|
|
weight: 3i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond_boots",
|
|
weight: 3i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond_chestplate",
|
|
weight: 3i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond_leggings",
|
|
weight: 3i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond_helmet",
|
|
weight: 3i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond_pickaxe",
|
|
weight: 3i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond_shovel",
|
|
weight: 3i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_sword",
|
|
weight: 3i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_boots",
|
|
weight: 3i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_chestplate",
|
|
weight: 3i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_leggings",
|
|
weight: 3i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_helmet",
|
|
weight: 3i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_pickaxe",
|
|
weight: 3i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_shovel",
|
|
weight: 3i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
];
|
|
static END_CITY_TREASURE_POOL1_ENTRIES: &[ChestLootEntry] = &[ChestLootEntry {
|
|
item: "minecraft:spire_armor_trim_smithing_template",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
}];
|
|
static END_CITY_TREASURE_POOLS: &[ChestLootPool] = &[
|
|
ChestLootPool {
|
|
entries: END_CITY_TREASURE_POOL0_ENTRIES,
|
|
min_rolls: 2i32,
|
|
max_rolls: 6i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: END_CITY_TREASURE_POOL1_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 1i32,
|
|
empty_weight: 14i32,
|
|
},
|
|
];
|
|
pub static END_CITY_TREASURE: ChestLootTable = ChestLootTable {
|
|
pools: END_CITY_TREASURE_POOLS,
|
|
};
|
|
static IGLOO_CHEST_POOL0_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:apple",
|
|
weight: 15i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:coal",
|
|
weight: 15i32,
|
|
min_count: 1i32,
|
|
max_count: 4i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:gold_nugget",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:stone_axe",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:rotten_flesh",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:emerald",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:wheat",
|
|
weight: 10i32,
|
|
min_count: 2i32,
|
|
max_count: 3i32,
|
|
},
|
|
];
|
|
static IGLOO_CHEST_POOL1_ENTRIES: &[ChestLootEntry] = &[ChestLootEntry {
|
|
item: "minecraft:golden_apple",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
}];
|
|
static IGLOO_CHEST_POOLS: &[ChestLootPool] = &[
|
|
ChestLootPool {
|
|
entries: IGLOO_CHEST_POOL0_ENTRIES,
|
|
min_rolls: 2i32,
|
|
max_rolls: 8i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: IGLOO_CHEST_POOL1_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 1i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
];
|
|
pub static IGLOO_CHEST: ChestLootTable = ChestLootTable {
|
|
pools: IGLOO_CHEST_POOLS,
|
|
};
|
|
static JUNGLE_TEMPLE_POOL0_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond",
|
|
weight: 3i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_ingot",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 5i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:gold_ingot",
|
|
weight: 15i32,
|
|
min_count: 2i32,
|
|
max_count: 7i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:bamboo",
|
|
weight: 15i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:emerald",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:bone",
|
|
weight: 20i32,
|
|
min_count: 4i32,
|
|
max_count: 6i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:rotten_flesh",
|
|
weight: 16i32,
|
|
min_count: 3i32,
|
|
max_count: 7i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:leather",
|
|
weight: 3i32,
|
|
min_count: 1i32,
|
|
max_count: 5i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:copper_horse_armor",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_horse_armor",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:golden_horse_armor",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond_horse_armor",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:book",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
];
|
|
static JUNGLE_TEMPLE_POOL1_ENTRIES: &[ChestLootEntry] = &[ChestLootEntry {
|
|
item: "minecraft:wild_armor_trim_smithing_template",
|
|
weight: 1i32,
|
|
min_count: 2i32,
|
|
max_count: 2i32,
|
|
}];
|
|
static JUNGLE_TEMPLE_POOLS: &[ChestLootPool] = &[
|
|
ChestLootPool {
|
|
entries: JUNGLE_TEMPLE_POOL0_ENTRIES,
|
|
min_rolls: 2i32,
|
|
max_rolls: 6i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: JUNGLE_TEMPLE_POOL1_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 1i32,
|
|
empty_weight: 2i32,
|
|
},
|
|
];
|
|
pub static JUNGLE_TEMPLE: ChestLootTable = ChestLootTable {
|
|
pools: JUNGLE_TEMPLE_POOLS,
|
|
};
|
|
static JUNGLE_TEMPLE_DISPENSER_POOL0_ENTRIES: &[ChestLootEntry] = &[ChestLootEntry {
|
|
item: "minecraft:arrow",
|
|
weight: 30i32,
|
|
min_count: 2i32,
|
|
max_count: 7i32,
|
|
}];
|
|
static JUNGLE_TEMPLE_DISPENSER_POOLS: &[ChestLootPool] = &[ChestLootPool {
|
|
entries: JUNGLE_TEMPLE_DISPENSER_POOL0_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 2i32,
|
|
empty_weight: 0i32,
|
|
}];
|
|
pub static JUNGLE_TEMPLE_DISPENSER: ChestLootTable = ChestLootTable {
|
|
pools: JUNGLE_TEMPLE_DISPENSER_POOLS,
|
|
};
|
|
static NETHER_BRIDGE_POOL0_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_ingot",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 5i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:gold_ingot",
|
|
weight: 15i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:golden_sword",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:golden_chestplate",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:flint_and_steel",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:nether_wart",
|
|
weight: 5i32,
|
|
min_count: 3i32,
|
|
max_count: 7i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:saddle",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:golden_horse_armor",
|
|
weight: 8i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:copper_horse_armor",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_horse_armor",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond_horse_armor",
|
|
weight: 3i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:obsidian",
|
|
weight: 2i32,
|
|
min_count: 2i32,
|
|
max_count: 4i32,
|
|
},
|
|
];
|
|
static NETHER_BRIDGE_POOL1_ENTRIES: &[ChestLootEntry] = &[ChestLootEntry {
|
|
item: "minecraft:rib_armor_trim_smithing_template",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
}];
|
|
static NETHER_BRIDGE_POOLS: &[ChestLootPool] = &[
|
|
ChestLootPool {
|
|
entries: NETHER_BRIDGE_POOL0_ENTRIES,
|
|
min_rolls: 2i32,
|
|
max_rolls: 4i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: NETHER_BRIDGE_POOL1_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 1i32,
|
|
empty_weight: 14i32,
|
|
},
|
|
];
|
|
pub static NETHER_BRIDGE: ChestLootTable = ChestLootTable {
|
|
pools: NETHER_BRIDGE_POOLS,
|
|
};
|
|
static PILLAGER_OUTPOST_POOL0_ENTRIES: &[ChestLootEntry] = &[ChestLootEntry {
|
|
item: "minecraft:crossbow",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
}];
|
|
static PILLAGER_OUTPOST_POOL1_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:wheat",
|
|
weight: 7i32,
|
|
min_count: 3i32,
|
|
max_count: 5i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:potato",
|
|
weight: 5i32,
|
|
min_count: 2i32,
|
|
max_count: 5i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:carrot",
|
|
weight: 5i32,
|
|
min_count: 3i32,
|
|
max_count: 5i32,
|
|
},
|
|
];
|
|
static PILLAGER_OUTPOST_POOL2_ENTRIES: &[ChestLootEntry] = &[ChestLootEntry {
|
|
item: "minecraft:dark_oak_log",
|
|
weight: 1i32,
|
|
min_count: 2i32,
|
|
max_count: 3i32,
|
|
}];
|
|
static PILLAGER_OUTPOST_POOL3_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:experience_bottle",
|
|
weight: 7i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:string",
|
|
weight: 4i32,
|
|
min_count: 1i32,
|
|
max_count: 6i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:arrow",
|
|
weight: 4i32,
|
|
min_count: 2i32,
|
|
max_count: 7i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:tripwire_hook",
|
|
weight: 3i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_ingot",
|
|
weight: 3i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:book",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
];
|
|
static PILLAGER_OUTPOST_POOL4_ENTRIES: &[ChestLootEntry] = &[ChestLootEntry {
|
|
item: "minecraft:goat_horn",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
}];
|
|
static PILLAGER_OUTPOST_POOL5_ENTRIES: &[ChestLootEntry] = &[ChestLootEntry {
|
|
item: "minecraft:sentry_armor_trim_smithing_template",
|
|
weight: 1i32,
|
|
min_count: 2i32,
|
|
max_count: 2i32,
|
|
}];
|
|
static PILLAGER_OUTPOST_POOLS: &[ChestLootPool] = &[
|
|
ChestLootPool {
|
|
entries: PILLAGER_OUTPOST_POOL0_ENTRIES,
|
|
min_rolls: 0i32,
|
|
max_rolls: 1i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: PILLAGER_OUTPOST_POOL1_ENTRIES,
|
|
min_rolls: 2i32,
|
|
max_rolls: 3i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: PILLAGER_OUTPOST_POOL2_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 3i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: PILLAGER_OUTPOST_POOL3_ENTRIES,
|
|
min_rolls: 2i32,
|
|
max_rolls: 3i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: PILLAGER_OUTPOST_POOL4_ENTRIES,
|
|
min_rolls: 0i32,
|
|
max_rolls: 1i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: PILLAGER_OUTPOST_POOL5_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 1i32,
|
|
empty_weight: 3i32,
|
|
},
|
|
];
|
|
pub static PILLAGER_OUTPOST: ChestLootTable = ChestLootTable {
|
|
pools: PILLAGER_OUTPOST_POOLS,
|
|
};
|
|
static RUINED_PORTAL_POOL0_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:obsidian",
|
|
weight: 40i32,
|
|
min_count: 1i32,
|
|
max_count: 2i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:flint",
|
|
weight: 40i32,
|
|
min_count: 1i32,
|
|
max_count: 4i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_nugget",
|
|
weight: 40i32,
|
|
min_count: 9i32,
|
|
max_count: 18i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:flint_and_steel",
|
|
weight: 40i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:fire_charge",
|
|
weight: 40i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:golden_apple",
|
|
weight: 15i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:gold_nugget",
|
|
weight: 15i32,
|
|
min_count: 4i32,
|
|
max_count: 24i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:golden_sword",
|
|
weight: 15i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:golden_axe",
|
|
weight: 15i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:golden_hoe",
|
|
weight: 15i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:golden_shovel",
|
|
weight: 15i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:golden_pickaxe",
|
|
weight: 15i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:golden_boots",
|
|
weight: 15i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:golden_chestplate",
|
|
weight: 15i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:golden_helmet",
|
|
weight: 15i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:golden_leggings",
|
|
weight: 15i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:glistering_melon_slice",
|
|
weight: 5i32,
|
|
min_count: 4i32,
|
|
max_count: 12i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:golden_horse_armor",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:light_weighted_pressure_plate",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:golden_carrot",
|
|
weight: 5i32,
|
|
min_count: 4i32,
|
|
max_count: 12i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:clock",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:gold_ingot",
|
|
weight: 5i32,
|
|
min_count: 2i32,
|
|
max_count: 8i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:bell",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:enchanted_golden_apple",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:gold_block",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 2i32,
|
|
},
|
|
];
|
|
static RUINED_PORTAL_POOL1_ENTRIES: &[ChestLootEntry] = &[ChestLootEntry {
|
|
item: "minecraft:lodestone",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 2i32,
|
|
}];
|
|
static RUINED_PORTAL_POOLS: &[ChestLootPool] = &[
|
|
ChestLootPool {
|
|
entries: RUINED_PORTAL_POOL0_ENTRIES,
|
|
min_rolls: 4i32,
|
|
max_rolls: 8i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: RUINED_PORTAL_POOL1_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 1i32,
|
|
empty_weight: 1i32,
|
|
},
|
|
];
|
|
pub static RUINED_PORTAL: ChestLootTable = ChestLootTable {
|
|
pools: RUINED_PORTAL_POOLS,
|
|
};
|
|
static SHIPWRECK_MAP_POOL0_ENTRIES: &[ChestLootEntry] = &[ChestLootEntry {
|
|
item: "minecraft:map",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
}];
|
|
static SHIPWRECK_MAP_POOL1_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:compass",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:map",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:clock",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:paper",
|
|
weight: 20i32,
|
|
min_count: 1i32,
|
|
max_count: 10i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:feather",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 5i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:book",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 5i32,
|
|
},
|
|
];
|
|
static SHIPWRECK_MAP_POOL2_ENTRIES: &[ChestLootEntry] = &[ChestLootEntry {
|
|
item: "minecraft:coast_armor_trim_smithing_template",
|
|
weight: 1i32,
|
|
min_count: 2i32,
|
|
max_count: 2i32,
|
|
}];
|
|
static SHIPWRECK_MAP_POOL3_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:copper_nautilus_armor",
|
|
weight: 20i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_nautilus_armor",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:golden_nautilus_armor",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond_nautilus_armor",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
];
|
|
static SHIPWRECK_MAP_POOLS: &[ChestLootPool] = &[
|
|
ChestLootPool {
|
|
entries: SHIPWRECK_MAP_POOL0_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 1i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: SHIPWRECK_MAP_POOL1_ENTRIES,
|
|
min_rolls: 3i32,
|
|
max_rolls: 3i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: SHIPWRECK_MAP_POOL2_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 1i32,
|
|
empty_weight: 5i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: SHIPWRECK_MAP_POOL3_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 1i32,
|
|
empty_weight: 148i32,
|
|
},
|
|
];
|
|
pub static SHIPWRECK_MAP: ChestLootTable = ChestLootTable {
|
|
pools: SHIPWRECK_MAP_POOLS,
|
|
};
|
|
static SHIPWRECK_SUPPLY_POOL0_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:paper",
|
|
weight: 8i32,
|
|
min_count: 1i32,
|
|
max_count: 12i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:potato",
|
|
weight: 7i32,
|
|
min_count: 2i32,
|
|
max_count: 6i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:moss_block",
|
|
weight: 7i32,
|
|
min_count: 1i32,
|
|
max_count: 4i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:poisonous_potato",
|
|
weight: 7i32,
|
|
min_count: 2i32,
|
|
max_count: 6i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:carrot",
|
|
weight: 7i32,
|
|
min_count: 4i32,
|
|
max_count: 8i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:wheat",
|
|
weight: 7i32,
|
|
min_count: 8i32,
|
|
max_count: 21i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:suspicious_stew",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:coal",
|
|
weight: 6i32,
|
|
min_count: 2i32,
|
|
max_count: 8i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:rotten_flesh",
|
|
weight: 5i32,
|
|
min_count: 5i32,
|
|
max_count: 24i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:pumpkin",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:bamboo",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:gunpowder",
|
|
weight: 3i32,
|
|
min_count: 1i32,
|
|
max_count: 5i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:tnt",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 2i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:leather_helmet",
|
|
weight: 3i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:leather_chestplate",
|
|
weight: 3i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:leather_leggings",
|
|
weight: 3i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:leather_boots",
|
|
weight: 3i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
];
|
|
static SHIPWRECK_SUPPLY_POOL1_ENTRIES: &[ChestLootEntry] = &[ChestLootEntry {
|
|
item: "minecraft:coast_armor_trim_smithing_template",
|
|
weight: 1i32,
|
|
min_count: 2i32,
|
|
max_count: 2i32,
|
|
}];
|
|
static SHIPWRECK_SUPPLY_POOL2_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:copper_nautilus_armor",
|
|
weight: 20i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_nautilus_armor",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:golden_nautilus_armor",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond_nautilus_armor",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
];
|
|
static SHIPWRECK_SUPPLY_POOLS: &[ChestLootPool] = &[
|
|
ChestLootPool {
|
|
entries: SHIPWRECK_SUPPLY_POOL0_ENTRIES,
|
|
min_rolls: 3i32,
|
|
max_rolls: 10i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: SHIPWRECK_SUPPLY_POOL1_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 1i32,
|
|
empty_weight: 5i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: SHIPWRECK_SUPPLY_POOL2_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 1i32,
|
|
empty_weight: 148i32,
|
|
},
|
|
];
|
|
pub static SHIPWRECK_SUPPLY: ChestLootTable = ChestLootTable {
|
|
pools: SHIPWRECK_SUPPLY_POOLS,
|
|
};
|
|
static SHIPWRECK_TREASURE_POOL0_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_ingot",
|
|
weight: 90i32,
|
|
min_count: 1i32,
|
|
max_count: 5i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:gold_ingot",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 5i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:emerald",
|
|
weight: 40i32,
|
|
min_count: 1i32,
|
|
max_count: 5i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:experience_bottle",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
];
|
|
static SHIPWRECK_TREASURE_POOL1_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_nugget",
|
|
weight: 50i32,
|
|
min_count: 1i32,
|
|
max_count: 10i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:gold_nugget",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 10i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:lapis_lazuli",
|
|
weight: 20i32,
|
|
min_count: 1i32,
|
|
max_count: 10i32,
|
|
},
|
|
];
|
|
static SHIPWRECK_TREASURE_POOL2_ENTRIES: &[ChestLootEntry] = &[ChestLootEntry {
|
|
item: "minecraft:coast_armor_trim_smithing_template",
|
|
weight: 1i32,
|
|
min_count: 2i32,
|
|
max_count: 2i32,
|
|
}];
|
|
static SHIPWRECK_TREASURE_POOL3_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:copper_nautilus_armor",
|
|
weight: 20i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_nautilus_armor",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:golden_nautilus_armor",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond_nautilus_armor",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
];
|
|
static SHIPWRECK_TREASURE_POOLS: &[ChestLootPool] = &[
|
|
ChestLootPool {
|
|
entries: SHIPWRECK_TREASURE_POOL0_ENTRIES,
|
|
min_rolls: 3i32,
|
|
max_rolls: 6i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: SHIPWRECK_TREASURE_POOL1_ENTRIES,
|
|
min_rolls: 2i32,
|
|
max_rolls: 5i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: SHIPWRECK_TREASURE_POOL2_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 1i32,
|
|
empty_weight: 5i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: SHIPWRECK_TREASURE_POOL3_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 1i32,
|
|
empty_weight: 148i32,
|
|
},
|
|
];
|
|
pub static SHIPWRECK_TREASURE: ChestLootTable = ChestLootTable {
|
|
pools: SHIPWRECK_TREASURE_POOLS,
|
|
};
|
|
static SIMPLE_DUNGEON_POOL0_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:leather",
|
|
weight: 20i32,
|
|
min_count: 1i32,
|
|
max_count: 5i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:golden_apple",
|
|
weight: 15i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:enchanted_golden_apple",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:music_disc_otherside",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:music_disc_13",
|
|
weight: 15i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:music_disc_cat",
|
|
weight: 15i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:name_tag",
|
|
weight: 20i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:golden_horse_armor",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:copper_horse_armor",
|
|
weight: 15i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_horse_armor",
|
|
weight: 15i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond_horse_armor",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:book",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
];
|
|
static SIMPLE_DUNGEON_POOL1_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_ingot",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 4i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:gold_ingot",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 4i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:bread",
|
|
weight: 20i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:wheat",
|
|
weight: 20i32,
|
|
min_count: 1i32,
|
|
max_count: 4i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:bucket",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:redstone",
|
|
weight: 15i32,
|
|
min_count: 1i32,
|
|
max_count: 4i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:coal",
|
|
weight: 15i32,
|
|
min_count: 1i32,
|
|
max_count: 4i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:melon_seeds",
|
|
weight: 10i32,
|
|
min_count: 2i32,
|
|
max_count: 4i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:pumpkin_seeds",
|
|
weight: 10i32,
|
|
min_count: 2i32,
|
|
max_count: 4i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:beetroot_seeds",
|
|
weight: 10i32,
|
|
min_count: 2i32,
|
|
max_count: 4i32,
|
|
},
|
|
];
|
|
static SIMPLE_DUNGEON_POOL2_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:bone",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 8i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:gunpowder",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 8i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:rotten_flesh",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 8i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:string",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 8i32,
|
|
},
|
|
];
|
|
static SIMPLE_DUNGEON_POOLS: &[ChestLootPool] = &[
|
|
ChestLootPool {
|
|
entries: SIMPLE_DUNGEON_POOL0_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 3i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: SIMPLE_DUNGEON_POOL1_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 4i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: SIMPLE_DUNGEON_POOL2_ENTRIES,
|
|
min_rolls: 3i32,
|
|
max_rolls: 3i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
];
|
|
pub static SIMPLE_DUNGEON: ChestLootTable = ChestLootTable {
|
|
pools: SIMPLE_DUNGEON_POOLS,
|
|
};
|
|
static SPAWN_BONUS_CHEST_POOL0_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:stone_axe",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:wooden_axe",
|
|
weight: 3i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
];
|
|
static SPAWN_BONUS_CHEST_POOL1_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:stone_pickaxe",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:wooden_pickaxe",
|
|
weight: 3i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
];
|
|
static SPAWN_BONUS_CHEST_POOL2_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:apple",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 2i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:bread",
|
|
weight: 3i32,
|
|
min_count: 1i32,
|
|
max_count: 2i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:salmon",
|
|
weight: 3i32,
|
|
min_count: 1i32,
|
|
max_count: 2i32,
|
|
},
|
|
];
|
|
static SPAWN_BONUS_CHEST_POOL3_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:stick",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 12i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:oak_planks",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 12i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:oak_log",
|
|
weight: 3i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:spruce_log",
|
|
weight: 3i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:birch_log",
|
|
weight: 3i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:jungle_log",
|
|
weight: 3i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:acacia_log",
|
|
weight: 3i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:dark_oak_log",
|
|
weight: 3i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:mangrove_log",
|
|
weight: 3i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
];
|
|
static SPAWN_BONUS_CHEST_POOLS: &[ChestLootPool] = &[
|
|
ChestLootPool {
|
|
entries: SPAWN_BONUS_CHEST_POOL0_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 1i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: SPAWN_BONUS_CHEST_POOL1_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 1i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: SPAWN_BONUS_CHEST_POOL2_ENTRIES,
|
|
min_rolls: 3i32,
|
|
max_rolls: 3i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: SPAWN_BONUS_CHEST_POOL3_ENTRIES,
|
|
min_rolls: 4i32,
|
|
max_rolls: 4i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
];
|
|
pub static SPAWN_BONUS_CHEST: ChestLootTable = ChestLootTable {
|
|
pools: SPAWN_BONUS_CHEST_POOLS,
|
|
};
|
|
static STRONGHOLD_CORRIDOR_POOL0_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:ender_pearl",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond",
|
|
weight: 3i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_ingot",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 5i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:gold_ingot",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:redstone",
|
|
weight: 5i32,
|
|
min_count: 4i32,
|
|
max_count: 9i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:bread",
|
|
weight: 15i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:apple",
|
|
weight: 15i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_pickaxe",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_sword",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_chestplate",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_helmet",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_leggings",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_boots",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:golden_apple",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:leather",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 5i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:copper_horse_armor",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_horse_armor",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:golden_horse_armor",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond_horse_armor",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:music_disc_otherside",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:book",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
];
|
|
static STRONGHOLD_CORRIDOR_POOL1_ENTRIES: &[ChestLootEntry] = &[ChestLootEntry {
|
|
item: "minecraft:eye_armor_trim_smithing_template",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
}];
|
|
static STRONGHOLD_CORRIDOR_POOLS: &[ChestLootPool] = &[
|
|
ChestLootPool {
|
|
entries: STRONGHOLD_CORRIDOR_POOL0_ENTRIES,
|
|
min_rolls: 2i32,
|
|
max_rolls: 3i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: STRONGHOLD_CORRIDOR_POOL1_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 1i32,
|
|
empty_weight: 9i32,
|
|
},
|
|
];
|
|
pub static STRONGHOLD_CORRIDOR: ChestLootTable = ChestLootTable {
|
|
pools: STRONGHOLD_CORRIDOR_POOLS,
|
|
};
|
|
static STRONGHOLD_CROSSING_POOL0_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_ingot",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 5i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:gold_ingot",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:redstone",
|
|
weight: 5i32,
|
|
min_count: 4i32,
|
|
max_count: 9i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:coal",
|
|
weight: 10i32,
|
|
min_count: 3i32,
|
|
max_count: 8i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:bread",
|
|
weight: 15i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:apple",
|
|
weight: 15i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_pickaxe",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:book",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
];
|
|
static STRONGHOLD_CROSSING_POOLS: &[ChestLootPool] = &[ChestLootPool {
|
|
entries: STRONGHOLD_CROSSING_POOL0_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 4i32,
|
|
empty_weight: 0i32,
|
|
}];
|
|
pub static STRONGHOLD_CROSSING: ChestLootTable = ChestLootTable {
|
|
pools: STRONGHOLD_CROSSING_POOLS,
|
|
};
|
|
static STRONGHOLD_LIBRARY_POOL0_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:book",
|
|
weight: 20i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:paper",
|
|
weight: 20i32,
|
|
min_count: 2i32,
|
|
max_count: 7i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:map",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:compass",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:book",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
];
|
|
static STRONGHOLD_LIBRARY_POOL1_ENTRIES: &[ChestLootEntry] = &[ChestLootEntry {
|
|
item: "minecraft:eye_armor_trim_smithing_template",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
}];
|
|
static STRONGHOLD_LIBRARY_POOLS: &[ChestLootPool] = &[
|
|
ChestLootPool {
|
|
entries: STRONGHOLD_LIBRARY_POOL0_ENTRIES,
|
|
min_rolls: 2i32,
|
|
max_rolls: 10i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: STRONGHOLD_LIBRARY_POOL1_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 1i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
];
|
|
pub static STRONGHOLD_LIBRARY: ChestLootTable = ChestLootTable {
|
|
pools: STRONGHOLD_LIBRARY_POOLS,
|
|
};
|
|
static TRIAL_CHAMBERS_CORRIDOR_POOL0_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_axe",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:honeycomb",
|
|
weight: 1i32,
|
|
min_count: 2i32,
|
|
max_count: 8i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:stone_axe",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:stone_pickaxe",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:ender_pearl",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 2i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:bamboo_hanging_sign",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 4i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:bamboo_planks",
|
|
weight: 2i32,
|
|
min_count: 3i32,
|
|
max_count: 6i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:scaffolding",
|
|
weight: 2i32,
|
|
min_count: 2i32,
|
|
max_count: 10i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:torch",
|
|
weight: 2i32,
|
|
min_count: 3i32,
|
|
max_count: 6i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:tuff",
|
|
weight: 3i32,
|
|
min_count: 8i32,
|
|
max_count: 20i32,
|
|
},
|
|
];
|
|
static TRIAL_CHAMBERS_CORRIDOR_POOLS: &[ChestLootPool] = &[ChestLootPool {
|
|
entries: TRIAL_CHAMBERS_CORRIDOR_POOL0_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 3i32,
|
|
empty_weight: 0i32,
|
|
}];
|
|
pub static TRIAL_CHAMBERS_CORRIDOR: ChestLootTable = ChestLootTable {
|
|
pools: TRIAL_CHAMBERS_CORRIDOR_POOLS,
|
|
};
|
|
static TRIAL_CHAMBERS_ENTRANCE_POOL0_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:trial_key",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:stick",
|
|
weight: 5i32,
|
|
min_count: 2i32,
|
|
max_count: 5i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:wooden_axe",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:honeycomb",
|
|
weight: 10i32,
|
|
min_count: 2i32,
|
|
max_count: 8i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:arrow",
|
|
weight: 10i32,
|
|
min_count: 5i32,
|
|
max_count: 10i32,
|
|
},
|
|
];
|
|
static TRIAL_CHAMBERS_ENTRANCE_POOLS: &[ChestLootPool] = &[ChestLootPool {
|
|
entries: TRIAL_CHAMBERS_ENTRANCE_POOL0_ENTRIES,
|
|
min_rolls: 2i32,
|
|
max_rolls: 3i32,
|
|
empty_weight: 0i32,
|
|
}];
|
|
pub static TRIAL_CHAMBERS_ENTRANCE: ChestLootTable = ChestLootTable {
|
|
pools: TRIAL_CHAMBERS_ENTRANCE_POOLS,
|
|
};
|
|
static TRIAL_CHAMBERS_INTERSECTION_POOL0_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond_block",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:emerald_block",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond_axe",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond_pickaxe",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 2i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:cake",
|
|
weight: 20i32,
|
|
min_count: 1i32,
|
|
max_count: 4i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:amethyst_shard",
|
|
weight: 20i32,
|
|
min_count: 8i32,
|
|
max_count: 20i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_block",
|
|
weight: 20i32,
|
|
min_count: 1i32,
|
|
max_count: 2i32,
|
|
},
|
|
];
|
|
static TRIAL_CHAMBERS_INTERSECTION_POOLS: &[ChestLootPool] = &[ChestLootPool {
|
|
entries: TRIAL_CHAMBERS_INTERSECTION_POOL0_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 3i32,
|
|
empty_weight: 0i32,
|
|
}];
|
|
pub static TRIAL_CHAMBERS_INTERSECTION: ChestLootTable = ChestLootTable {
|
|
pools: TRIAL_CHAMBERS_INTERSECTION_POOLS,
|
|
};
|
|
static TRIAL_CHAMBERS_INTERSECTION_BARREL_POOL0_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond_axe",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond_pickaxe",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:compass",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:bucket",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 2i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:golden_axe",
|
|
weight: 4i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:golden_pickaxe",
|
|
weight: 4i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:bamboo_planks",
|
|
weight: 10i32,
|
|
min_count: 5i32,
|
|
max_count: 15i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:baked_potato",
|
|
weight: 10i32,
|
|
min_count: 6i32,
|
|
max_count: 10i32,
|
|
},
|
|
];
|
|
static TRIAL_CHAMBERS_INTERSECTION_BARREL_POOLS: &[ChestLootPool] = &[ChestLootPool {
|
|
entries: TRIAL_CHAMBERS_INTERSECTION_BARREL_POOL0_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 3i32,
|
|
empty_weight: 0i32,
|
|
}];
|
|
pub static TRIAL_CHAMBERS_INTERSECTION_BARREL: ChestLootTable = ChestLootTable {
|
|
pools: TRIAL_CHAMBERS_INTERSECTION_BARREL_POOLS,
|
|
};
|
|
static TRIAL_CHAMBERS_REWARD_POOL0_ENTRIES: &[ChestLootEntry] = &[];
|
|
static TRIAL_CHAMBERS_REWARD_POOL1_ENTRIES: &[ChestLootEntry] = &[];
|
|
static TRIAL_CHAMBERS_REWARD_POOL2_ENTRIES: &[ChestLootEntry] = &[];
|
|
static TRIAL_CHAMBERS_REWARD_POOLS: &[ChestLootPool] = &[
|
|
ChestLootPool {
|
|
entries: TRIAL_CHAMBERS_REWARD_POOL0_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 1i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: TRIAL_CHAMBERS_REWARD_POOL1_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 3i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: TRIAL_CHAMBERS_REWARD_POOL2_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 1i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
];
|
|
pub static TRIAL_CHAMBERS_REWARD: ChestLootTable = ChestLootTable {
|
|
pools: TRIAL_CHAMBERS_REWARD_POOLS,
|
|
};
|
|
static TRIAL_CHAMBERS_REWARD_COMMON_POOL0_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:arrow",
|
|
weight: 4i32,
|
|
min_count: 2i32,
|
|
max_count: 8i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:tipped_arrow",
|
|
weight: 4i32,
|
|
min_count: 2i32,
|
|
max_count: 8i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:emerald",
|
|
weight: 4i32,
|
|
min_count: 2i32,
|
|
max_count: 4i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:wind_charge",
|
|
weight: 3i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_ingot",
|
|
weight: 3i32,
|
|
min_count: 1i32,
|
|
max_count: 4i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:honey_bottle",
|
|
weight: 3i32,
|
|
min_count: 1i32,
|
|
max_count: 2i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:ominous_bottle",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:wind_charge",
|
|
weight: 1i32,
|
|
min_count: 4i32,
|
|
max_count: 12i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 2i32,
|
|
},
|
|
];
|
|
static TRIAL_CHAMBERS_REWARD_COMMON_POOLS: &[ChestLootPool] = &[ChestLootPool {
|
|
entries: TRIAL_CHAMBERS_REWARD_COMMON_POOL0_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 1i32,
|
|
empty_weight: 0i32,
|
|
}];
|
|
pub static TRIAL_CHAMBERS_REWARD_COMMON: ChestLootTable = ChestLootTable {
|
|
pools: TRIAL_CHAMBERS_REWARD_COMMON_POOLS,
|
|
};
|
|
static TRIAL_CHAMBERS_REWARD_OMINOUS_POOL0_ENTRIES: &[ChestLootEntry] = &[];
|
|
static TRIAL_CHAMBERS_REWARD_OMINOUS_POOL1_ENTRIES: &[ChestLootEntry] = &[];
|
|
static TRIAL_CHAMBERS_REWARD_OMINOUS_POOL2_ENTRIES: &[ChestLootEntry] = &[];
|
|
static TRIAL_CHAMBERS_REWARD_OMINOUS_POOLS: &[ChestLootPool] = &[
|
|
ChestLootPool {
|
|
entries: TRIAL_CHAMBERS_REWARD_OMINOUS_POOL0_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 1i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: TRIAL_CHAMBERS_REWARD_OMINOUS_POOL1_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 3i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: TRIAL_CHAMBERS_REWARD_OMINOUS_POOL2_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 1i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
];
|
|
pub static TRIAL_CHAMBERS_REWARD_OMINOUS: ChestLootTable = ChestLootTable {
|
|
pools: TRIAL_CHAMBERS_REWARD_OMINOUS_POOLS,
|
|
};
|
|
static TRIAL_CHAMBERS_REWARD_OMINOUS_COMMON_POOL0_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:emerald",
|
|
weight: 5i32,
|
|
min_count: 4i32,
|
|
max_count: 10i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:wind_charge",
|
|
weight: 4i32,
|
|
min_count: 8i32,
|
|
max_count: 12i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:tipped_arrow",
|
|
weight: 3i32,
|
|
min_count: 4i32,
|
|
max_count: 12i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond",
|
|
weight: 2i32,
|
|
min_count: 2i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:ominous_bottle",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
];
|
|
static TRIAL_CHAMBERS_REWARD_OMINOUS_COMMON_POOLS: &[ChestLootPool] = &[ChestLootPool {
|
|
entries: TRIAL_CHAMBERS_REWARD_OMINOUS_COMMON_POOL0_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 1i32,
|
|
empty_weight: 0i32,
|
|
}];
|
|
pub static TRIAL_CHAMBERS_REWARD_OMINOUS_COMMON: ChestLootTable = ChestLootTable {
|
|
pools: TRIAL_CHAMBERS_REWARD_OMINOUS_COMMON_POOLS,
|
|
};
|
|
static TRIAL_CHAMBERS_REWARD_OMINOUS_RARE_POOL0_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:emerald_block",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_block",
|
|
weight: 4i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:crossbow",
|
|
weight: 4i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:golden_apple",
|
|
weight: 3i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond_axe",
|
|
weight: 3i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond_chestplate",
|
|
weight: 3i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:book",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:book",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:book",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond_block",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
];
|
|
static TRIAL_CHAMBERS_REWARD_OMINOUS_RARE_POOLS: &[ChestLootPool] = &[ChestLootPool {
|
|
entries: TRIAL_CHAMBERS_REWARD_OMINOUS_RARE_POOL0_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 1i32,
|
|
empty_weight: 0i32,
|
|
}];
|
|
pub static TRIAL_CHAMBERS_REWARD_OMINOUS_RARE: ChestLootTable = ChestLootTable {
|
|
pools: TRIAL_CHAMBERS_REWARD_OMINOUS_RARE_POOLS,
|
|
};
|
|
static TRIAL_CHAMBERS_REWARD_OMINOUS_UNIQUE_POOL0_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:enchanted_golden_apple",
|
|
weight: 3i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:flow_armor_trim_smithing_template",
|
|
weight: 3i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:flow_banner_pattern",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:music_disc_creator",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:heavy_core",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
];
|
|
static TRIAL_CHAMBERS_REWARD_OMINOUS_UNIQUE_POOLS: &[ChestLootPool] = &[ChestLootPool {
|
|
entries: TRIAL_CHAMBERS_REWARD_OMINOUS_UNIQUE_POOL0_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 1i32,
|
|
empty_weight: 0i32,
|
|
}];
|
|
pub static TRIAL_CHAMBERS_REWARD_OMINOUS_UNIQUE: ChestLootTable = ChestLootTable {
|
|
pools: TRIAL_CHAMBERS_REWARD_OMINOUS_UNIQUE_POOLS,
|
|
};
|
|
static TRIAL_CHAMBERS_REWARD_RARE_POOL0_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:emerald",
|
|
weight: 3i32,
|
|
min_count: 2i32,
|
|
max_count: 4i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:shield",
|
|
weight: 3i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:bow",
|
|
weight: 3i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:crossbow",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_axe",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_chestplate",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:golden_carrot",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 2i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:book",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:book",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond_chestplate",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond_axe",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
];
|
|
static TRIAL_CHAMBERS_REWARD_RARE_POOLS: &[ChestLootPool] = &[ChestLootPool {
|
|
entries: TRIAL_CHAMBERS_REWARD_RARE_POOL0_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 1i32,
|
|
empty_weight: 0i32,
|
|
}];
|
|
pub static TRIAL_CHAMBERS_REWARD_RARE: ChestLootTable = ChestLootTable {
|
|
pools: TRIAL_CHAMBERS_REWARD_RARE_POOLS,
|
|
};
|
|
static TRIAL_CHAMBERS_REWARD_UNIQUE_POOL0_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:golden_apple",
|
|
weight: 4i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:bolt_armor_trim_smithing_template",
|
|
weight: 3i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:guster_banner_pattern",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:music_disc_precipice",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:trident",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
];
|
|
static TRIAL_CHAMBERS_REWARD_UNIQUE_POOLS: &[ChestLootPool] = &[ChestLootPool {
|
|
entries: TRIAL_CHAMBERS_REWARD_UNIQUE_POOL0_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 1i32,
|
|
empty_weight: 0i32,
|
|
}];
|
|
pub static TRIAL_CHAMBERS_REWARD_UNIQUE: ChestLootTable = ChestLootTable {
|
|
pools: TRIAL_CHAMBERS_REWARD_UNIQUE_POOLS,
|
|
};
|
|
static TRIAL_CHAMBERS_SUPPLY_POOL0_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:arrow",
|
|
weight: 2i32,
|
|
min_count: 4i32,
|
|
max_count: 14i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:tipped_arrow",
|
|
weight: 1i32,
|
|
min_count: 4i32,
|
|
max_count: 8i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:tipped_arrow",
|
|
weight: 1i32,
|
|
min_count: 4i32,
|
|
max_count: 8i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:baked_potato",
|
|
weight: 2i32,
|
|
min_count: 2i32,
|
|
max_count: 4i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:glow_berries",
|
|
weight: 2i32,
|
|
min_count: 2i32,
|
|
max_count: 10i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:acacia_planks",
|
|
weight: 1i32,
|
|
min_count: 3i32,
|
|
max_count: 6i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:moss_block",
|
|
weight: 1i32,
|
|
min_count: 2i32,
|
|
max_count: 5i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:bone_meal",
|
|
weight: 1i32,
|
|
min_count: 2i32,
|
|
max_count: 5i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:tuff",
|
|
weight: 1i32,
|
|
min_count: 5i32,
|
|
max_count: 10i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:torch",
|
|
weight: 1i32,
|
|
min_count: 3i32,
|
|
max_count: 6i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:potion",
|
|
weight: 1i32,
|
|
min_count: 2i32,
|
|
max_count: 2i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:potion",
|
|
weight: 1i32,
|
|
min_count: 2i32,
|
|
max_count: 2i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:stone_pickaxe",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:milk_bucket",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
];
|
|
static TRIAL_CHAMBERS_SUPPLY_POOLS: &[ChestLootPool] = &[ChestLootPool {
|
|
entries: TRIAL_CHAMBERS_SUPPLY_POOL0_ENTRIES,
|
|
min_rolls: 3i32,
|
|
max_rolls: 5i32,
|
|
empty_weight: 0i32,
|
|
}];
|
|
pub static TRIAL_CHAMBERS_SUPPLY: ChestLootTable = ChestLootTable {
|
|
pools: TRIAL_CHAMBERS_SUPPLY_POOLS,
|
|
};
|
|
static UNDERWATER_RUIN_BIG_POOL0_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:coal",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 4i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:gold_nugget",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:emerald",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:stone_spear",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:wheat",
|
|
weight: 10i32,
|
|
min_count: 2i32,
|
|
max_count: 3i32,
|
|
},
|
|
];
|
|
static UNDERWATER_RUIN_BIG_POOL1_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:golden_apple",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:book",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:leather_chestplate",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:golden_helmet",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:fishing_rod",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:map",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
];
|
|
static UNDERWATER_RUIN_BIG_POOL2_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:copper_nautilus_armor",
|
|
weight: 20i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_nautilus_armor",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:golden_nautilus_armor",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond_nautilus_armor",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
];
|
|
static UNDERWATER_RUIN_BIG_POOLS: &[ChestLootPool] = &[
|
|
ChestLootPool {
|
|
entries: UNDERWATER_RUIN_BIG_POOL0_ENTRIES,
|
|
min_rolls: 2i32,
|
|
max_rolls: 8i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: UNDERWATER_RUIN_BIG_POOL1_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 1i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: UNDERWATER_RUIN_BIG_POOL2_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 1i32,
|
|
empty_weight: 148i32,
|
|
},
|
|
];
|
|
pub static UNDERWATER_RUIN_BIG: ChestLootTable = ChestLootTable {
|
|
pools: UNDERWATER_RUIN_BIG_POOLS,
|
|
};
|
|
static UNDERWATER_RUIN_SMALL_POOL0_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:coal",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 4i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:stone_axe",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:stone_spear",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:rotten_flesh",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:emerald",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:wheat",
|
|
weight: 10i32,
|
|
min_count: 2i32,
|
|
max_count: 3i32,
|
|
},
|
|
];
|
|
static UNDERWATER_RUIN_SMALL_POOL1_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:leather_chestplate",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:golden_helmet",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:fishing_rod",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:map",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
];
|
|
static UNDERWATER_RUIN_SMALL_POOL2_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:copper_nautilus_armor",
|
|
weight: 20i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_nautilus_armor",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:golden_nautilus_armor",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond_nautilus_armor",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
];
|
|
static UNDERWATER_RUIN_SMALL_POOLS: &[ChestLootPool] = &[
|
|
ChestLootPool {
|
|
entries: UNDERWATER_RUIN_SMALL_POOL0_ENTRIES,
|
|
min_rolls: 2i32,
|
|
max_rolls: 8i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: UNDERWATER_RUIN_SMALL_POOL1_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 1i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: UNDERWATER_RUIN_SMALL_POOL2_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 1i32,
|
|
empty_weight: 148i32,
|
|
},
|
|
];
|
|
pub static UNDERWATER_RUIN_SMALL: ChestLootTable = ChestLootTable {
|
|
pools: UNDERWATER_RUIN_SMALL_POOLS,
|
|
};
|
|
static VILLAGE_VILLAGE_ARMORER_POOL0_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_ingot",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:bread",
|
|
weight: 4i32,
|
|
min_count: 1i32,
|
|
max_count: 4i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_helmet",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:emerald",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
];
|
|
static VILLAGE_VILLAGE_ARMORER_POOLS: &[ChestLootPool] = &[ChestLootPool {
|
|
entries: VILLAGE_VILLAGE_ARMORER_POOL0_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 5i32,
|
|
empty_weight: 0i32,
|
|
}];
|
|
pub static VILLAGE_VILLAGE_ARMORER: ChestLootTable = ChestLootTable {
|
|
pools: VILLAGE_VILLAGE_ARMORER_POOLS,
|
|
};
|
|
static VILLAGE_VILLAGE_BUTCHER_POOL0_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:emerald",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:porkchop",
|
|
weight: 6i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:wheat",
|
|
weight: 6i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:beef",
|
|
weight: 6i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:mutton",
|
|
weight: 6i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:coal",
|
|
weight: 3i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
];
|
|
static VILLAGE_VILLAGE_BUTCHER_POOLS: &[ChestLootPool] = &[ChestLootPool {
|
|
entries: VILLAGE_VILLAGE_BUTCHER_POOL0_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 5i32,
|
|
empty_weight: 0i32,
|
|
}];
|
|
pub static VILLAGE_VILLAGE_BUTCHER: ChestLootTable = ChestLootTable {
|
|
pools: VILLAGE_VILLAGE_BUTCHER_POOLS,
|
|
};
|
|
static VILLAGE_VILLAGE_CARTOGRAPHER_POOL0_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:map",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:paper",
|
|
weight: 15i32,
|
|
min_count: 1i32,
|
|
max_count: 5i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:compass",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:bread",
|
|
weight: 15i32,
|
|
min_count: 1i32,
|
|
max_count: 4i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:stick",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 2i32,
|
|
},
|
|
];
|
|
static VILLAGE_VILLAGE_CARTOGRAPHER_POOL1_ENTRIES: &[ChestLootEntry] = &[ChestLootEntry {
|
|
item: "minecraft:bundle",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
}];
|
|
static VILLAGE_VILLAGE_CARTOGRAPHER_POOLS: &[ChestLootPool] = &[
|
|
ChestLootPool {
|
|
entries: VILLAGE_VILLAGE_CARTOGRAPHER_POOL0_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 5i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: VILLAGE_VILLAGE_CARTOGRAPHER_POOL1_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 1i32,
|
|
empty_weight: 2i32,
|
|
},
|
|
];
|
|
pub static VILLAGE_VILLAGE_CARTOGRAPHER: ChestLootTable = ChestLootTable {
|
|
pools: VILLAGE_VILLAGE_CARTOGRAPHER_POOLS,
|
|
};
|
|
static VILLAGE_VILLAGE_DESERT_HOUSE_POOL0_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:clay_ball",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:green_dye",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:cactus",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 4i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:wheat",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 7i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:bread",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 4i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:book",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:dead_bush",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:emerald",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
];
|
|
static VILLAGE_VILLAGE_DESERT_HOUSE_POOL1_ENTRIES: &[ChestLootEntry] = &[ChestLootEntry {
|
|
item: "minecraft:bundle",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
}];
|
|
static VILLAGE_VILLAGE_DESERT_HOUSE_POOLS: &[ChestLootPool] = &[
|
|
ChestLootPool {
|
|
entries: VILLAGE_VILLAGE_DESERT_HOUSE_POOL0_ENTRIES,
|
|
min_rolls: 3i32,
|
|
max_rolls: 8i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: VILLAGE_VILLAGE_DESERT_HOUSE_POOL1_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 1i32,
|
|
empty_weight: 2i32,
|
|
},
|
|
];
|
|
pub static VILLAGE_VILLAGE_DESERT_HOUSE: ChestLootTable = ChestLootTable {
|
|
pools: VILLAGE_VILLAGE_DESERT_HOUSE_POOLS,
|
|
};
|
|
static VILLAGE_VILLAGE_FISHER_POOL0_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:emerald",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:cod",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:salmon",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:water_bucket",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:barrel",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:wheat_seeds",
|
|
weight: 3i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:coal",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
];
|
|
static VILLAGE_VILLAGE_FISHER_POOLS: &[ChestLootPool] = &[ChestLootPool {
|
|
entries: VILLAGE_VILLAGE_FISHER_POOL0_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 5i32,
|
|
empty_weight: 0i32,
|
|
}];
|
|
pub static VILLAGE_VILLAGE_FISHER: ChestLootTable = ChestLootTable {
|
|
pools: VILLAGE_VILLAGE_FISHER_POOLS,
|
|
};
|
|
static VILLAGE_VILLAGE_FLETCHER_POOL0_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:emerald",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:arrow",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:feather",
|
|
weight: 6i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:egg",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:flint",
|
|
weight: 6i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:stick",
|
|
weight: 6i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
];
|
|
static VILLAGE_VILLAGE_FLETCHER_POOLS: &[ChestLootPool] = &[ChestLootPool {
|
|
entries: VILLAGE_VILLAGE_FLETCHER_POOL0_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 5i32,
|
|
empty_weight: 0i32,
|
|
}];
|
|
pub static VILLAGE_VILLAGE_FLETCHER: ChestLootTable = ChestLootTable {
|
|
pools: VILLAGE_VILLAGE_FLETCHER_POOLS,
|
|
};
|
|
static VILLAGE_VILLAGE_MASON_POOL0_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:clay_ball",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:flower_pot",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:stone",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:stone_bricks",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:bread",
|
|
weight: 4i32,
|
|
min_count: 1i32,
|
|
max_count: 4i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:yellow_dye",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:smooth_stone",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:emerald",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
];
|
|
static VILLAGE_VILLAGE_MASON_POOLS: &[ChestLootPool] = &[ChestLootPool {
|
|
entries: VILLAGE_VILLAGE_MASON_POOL0_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 5i32,
|
|
empty_weight: 0i32,
|
|
}];
|
|
pub static VILLAGE_VILLAGE_MASON: ChestLootTable = ChestLootTable {
|
|
pools: VILLAGE_VILLAGE_MASON_POOLS,
|
|
};
|
|
static VILLAGE_VILLAGE_PLAINS_HOUSE_POOL0_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:gold_nugget",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:dandelion",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:poppy",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:potato",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 7i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:bread",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 4i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:apple",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 5i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:book",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:feather",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:emerald",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 4i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:oak_sapling",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 2i32,
|
|
},
|
|
];
|
|
static VILLAGE_VILLAGE_PLAINS_HOUSE_POOL1_ENTRIES: &[ChestLootEntry] = &[ChestLootEntry {
|
|
item: "minecraft:bundle",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
}];
|
|
static VILLAGE_VILLAGE_PLAINS_HOUSE_POOLS: &[ChestLootPool] = &[
|
|
ChestLootPool {
|
|
entries: VILLAGE_VILLAGE_PLAINS_HOUSE_POOL0_ENTRIES,
|
|
min_rolls: 3i32,
|
|
max_rolls: 8i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: VILLAGE_VILLAGE_PLAINS_HOUSE_POOL1_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 1i32,
|
|
empty_weight: 2i32,
|
|
},
|
|
];
|
|
pub static VILLAGE_VILLAGE_PLAINS_HOUSE: ChestLootTable = ChestLootTable {
|
|
pools: VILLAGE_VILLAGE_PLAINS_HOUSE_POOLS,
|
|
};
|
|
static VILLAGE_VILLAGE_SAVANNA_HOUSE_POOL0_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:gold_nugget",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:short_grass",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:tall_grass",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:bread",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 4i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:wheat_seeds",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 5i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:emerald",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 4i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:acacia_sapling",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 2i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:saddle",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:torch",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 2i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:bucket",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
];
|
|
static VILLAGE_VILLAGE_SAVANNA_HOUSE_POOL1_ENTRIES: &[ChestLootEntry] = &[ChestLootEntry {
|
|
item: "minecraft:bundle",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
}];
|
|
static VILLAGE_VILLAGE_SAVANNA_HOUSE_POOLS: &[ChestLootPool] = &[
|
|
ChestLootPool {
|
|
entries: VILLAGE_VILLAGE_SAVANNA_HOUSE_POOL0_ENTRIES,
|
|
min_rolls: 3i32,
|
|
max_rolls: 8i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: VILLAGE_VILLAGE_SAVANNA_HOUSE_POOL1_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 1i32,
|
|
empty_weight: 2i32,
|
|
},
|
|
];
|
|
pub static VILLAGE_VILLAGE_SAVANNA_HOUSE: ChestLootTable = ChestLootTable {
|
|
pools: VILLAGE_VILLAGE_SAVANNA_HOUSE_POOLS,
|
|
};
|
|
static VILLAGE_VILLAGE_SHEPHERD_POOL0_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:white_wool",
|
|
weight: 6i32,
|
|
min_count: 1i32,
|
|
max_count: 8i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:black_wool",
|
|
weight: 3i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:gray_wool",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:brown_wool",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:light_gray_wool",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:emerald",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:shears",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:wheat",
|
|
weight: 6i32,
|
|
min_count: 1i32,
|
|
max_count: 6i32,
|
|
},
|
|
];
|
|
static VILLAGE_VILLAGE_SHEPHERD_POOLS: &[ChestLootPool] = &[ChestLootPool {
|
|
entries: VILLAGE_VILLAGE_SHEPHERD_POOL0_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 5i32,
|
|
empty_weight: 0i32,
|
|
}];
|
|
pub static VILLAGE_VILLAGE_SHEPHERD: ChestLootTable = ChestLootTable {
|
|
pools: VILLAGE_VILLAGE_SHEPHERD_POOLS,
|
|
};
|
|
static VILLAGE_VILLAGE_SNOWY_HOUSE_POOL0_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:blue_ice",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:snow_block",
|
|
weight: 4i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:potato",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 7i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:bread",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 4i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:beetroot_seeds",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 5i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:beetroot_soup",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:furnace",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:emerald",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 4i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:snowball",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 7i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:coal",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 4i32,
|
|
},
|
|
];
|
|
static VILLAGE_VILLAGE_SNOWY_HOUSE_POOL1_ENTRIES: &[ChestLootEntry] = &[ChestLootEntry {
|
|
item: "minecraft:bundle",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
}];
|
|
static VILLAGE_VILLAGE_SNOWY_HOUSE_POOLS: &[ChestLootPool] = &[
|
|
ChestLootPool {
|
|
entries: VILLAGE_VILLAGE_SNOWY_HOUSE_POOL0_ENTRIES,
|
|
min_rolls: 3i32,
|
|
max_rolls: 8i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: VILLAGE_VILLAGE_SNOWY_HOUSE_POOL1_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 1i32,
|
|
empty_weight: 2i32,
|
|
},
|
|
];
|
|
pub static VILLAGE_VILLAGE_SNOWY_HOUSE: ChestLootTable = ChestLootTable {
|
|
pools: VILLAGE_VILLAGE_SNOWY_HOUSE_POOLS,
|
|
};
|
|
static VILLAGE_VILLAGE_TAIGA_HOUSE_POOL0_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_nugget",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 5i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:fern",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:large_fern",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:potato",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 7i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:sweet_berries",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 7i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:bread",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 4i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:pumpkin_seeds",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 5i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:pumpkin_pie",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:emerald",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 4i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:spruce_sapling",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 5i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:spruce_sign",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:spruce_log",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 5i32,
|
|
},
|
|
];
|
|
static VILLAGE_VILLAGE_TAIGA_HOUSE_POOL1_ENTRIES: &[ChestLootEntry] = &[ChestLootEntry {
|
|
item: "minecraft:bundle",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
}];
|
|
static VILLAGE_VILLAGE_TAIGA_HOUSE_POOLS: &[ChestLootPool] = &[
|
|
ChestLootPool {
|
|
entries: VILLAGE_VILLAGE_TAIGA_HOUSE_POOL0_ENTRIES,
|
|
min_rolls: 3i32,
|
|
max_rolls: 8i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: VILLAGE_VILLAGE_TAIGA_HOUSE_POOL1_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 1i32,
|
|
empty_weight: 2i32,
|
|
},
|
|
];
|
|
pub static VILLAGE_VILLAGE_TAIGA_HOUSE: ChestLootTable = ChestLootTable {
|
|
pools: VILLAGE_VILLAGE_TAIGA_HOUSE_POOLS,
|
|
};
|
|
static VILLAGE_VILLAGE_TANNERY_POOL0_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:leather",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:leather_chestplate",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:leather_boots",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:leather_helmet",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:bread",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 4i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:leather_leggings",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:saddle",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:emerald",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 4i32,
|
|
},
|
|
];
|
|
static VILLAGE_VILLAGE_TANNERY_POOL1_ENTRIES: &[ChestLootEntry] = &[ChestLootEntry {
|
|
item: "minecraft:bundle",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
}];
|
|
static VILLAGE_VILLAGE_TANNERY_POOLS: &[ChestLootPool] = &[
|
|
ChestLootPool {
|
|
entries: VILLAGE_VILLAGE_TANNERY_POOL0_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 5i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: VILLAGE_VILLAGE_TANNERY_POOL1_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 1i32,
|
|
empty_weight: 2i32,
|
|
},
|
|
];
|
|
pub static VILLAGE_VILLAGE_TANNERY: ChestLootTable = ChestLootTable {
|
|
pools: VILLAGE_VILLAGE_TANNERY_POOLS,
|
|
};
|
|
static VILLAGE_VILLAGE_TEMPLE_POOL0_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:redstone",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 4i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:bread",
|
|
weight: 7i32,
|
|
min_count: 1i32,
|
|
max_count: 4i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:rotten_flesh",
|
|
weight: 7i32,
|
|
min_count: 1i32,
|
|
max_count: 4i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:lapis_lazuli",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 4i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:gold_ingot",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 4i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:emerald",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 4i32,
|
|
},
|
|
];
|
|
static VILLAGE_VILLAGE_TEMPLE_POOLS: &[ChestLootPool] = &[ChestLootPool {
|
|
entries: VILLAGE_VILLAGE_TEMPLE_POOL0_ENTRIES,
|
|
min_rolls: 3i32,
|
|
max_rolls: 8i32,
|
|
empty_weight: 0i32,
|
|
}];
|
|
pub static VILLAGE_VILLAGE_TEMPLE: ChestLootTable = ChestLootTable {
|
|
pools: VILLAGE_VILLAGE_TEMPLE_POOLS,
|
|
};
|
|
static VILLAGE_VILLAGE_TOOLSMITH_POOL0_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_ingot",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 5i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:gold_ingot",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:bread",
|
|
weight: 15i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_pickaxe",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:coal",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:stick",
|
|
weight: 20i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_shovel",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
];
|
|
static VILLAGE_VILLAGE_TOOLSMITH_POOLS: &[ChestLootPool] = &[ChestLootPool {
|
|
entries: VILLAGE_VILLAGE_TOOLSMITH_POOL0_ENTRIES,
|
|
min_rolls: 3i32,
|
|
max_rolls: 8i32,
|
|
empty_weight: 0i32,
|
|
}];
|
|
pub static VILLAGE_VILLAGE_TOOLSMITH: ChestLootTable = ChestLootTable {
|
|
pools: VILLAGE_VILLAGE_TOOLSMITH_POOLS,
|
|
};
|
|
static VILLAGE_VILLAGE_WEAPONSMITH_POOL0_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond",
|
|
weight: 3i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_ingot",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 5i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:gold_ingot",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:bread",
|
|
weight: 15i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:apple",
|
|
weight: 15i32,
|
|
min_count: 1i32,
|
|
max_count: 3i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_pickaxe",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_sword",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_spear",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:copper_spear",
|
|
weight: 7i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_chestplate",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_helmet",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_leggings",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_boots",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:obsidian",
|
|
weight: 5i32,
|
|
min_count: 3i32,
|
|
max_count: 7i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:oak_sapling",
|
|
weight: 5i32,
|
|
min_count: 3i32,
|
|
max_count: 7i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:saddle",
|
|
weight: 3i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:copper_horse_armor",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_horse_armor",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:golden_horse_armor",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond_horse_armor",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
];
|
|
static VILLAGE_VILLAGE_WEAPONSMITH_POOL1_ENTRIES: &[ChestLootEntry] = &[ChestLootEntry {
|
|
item: "minecraft:bundle",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
}];
|
|
static VILLAGE_VILLAGE_WEAPONSMITH_POOLS: &[ChestLootPool] = &[
|
|
ChestLootPool {
|
|
entries: VILLAGE_VILLAGE_WEAPONSMITH_POOL0_ENTRIES,
|
|
min_rolls: 3i32,
|
|
max_rolls: 8i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: VILLAGE_VILLAGE_WEAPONSMITH_POOL1_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 1i32,
|
|
empty_weight: 2i32,
|
|
},
|
|
];
|
|
pub static VILLAGE_VILLAGE_WEAPONSMITH: ChestLootTable = ChestLootTable {
|
|
pools: VILLAGE_VILLAGE_WEAPONSMITH_POOLS,
|
|
};
|
|
static WOODLAND_MANSION_POOL0_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:lead",
|
|
weight: 20i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:golden_apple",
|
|
weight: 15i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:enchanted_golden_apple",
|
|
weight: 2i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:music_disc_13",
|
|
weight: 15i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:music_disc_cat",
|
|
weight: 15i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:chainmail_chestplate",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond_hoe",
|
|
weight: 15i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:diamond_chestplate",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:book",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
];
|
|
static WOODLAND_MANSION_POOL1_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:iron_ingot",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 4i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:gold_ingot",
|
|
weight: 5i32,
|
|
min_count: 1i32,
|
|
max_count: 4i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:bread",
|
|
weight: 20i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:wheat",
|
|
weight: 20i32,
|
|
min_count: 1i32,
|
|
max_count: 4i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:bucket",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:redstone",
|
|
weight: 15i32,
|
|
min_count: 1i32,
|
|
max_count: 4i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:coal",
|
|
weight: 15i32,
|
|
min_count: 1i32,
|
|
max_count: 4i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:melon_seeds",
|
|
weight: 10i32,
|
|
min_count: 2i32,
|
|
max_count: 4i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:pumpkin_seeds",
|
|
weight: 10i32,
|
|
min_count: 2i32,
|
|
max_count: 4i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:beetroot_seeds",
|
|
weight: 10i32,
|
|
min_count: 2i32,
|
|
max_count: 4i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:resin_clump",
|
|
weight: 50i32,
|
|
min_count: 2i32,
|
|
max_count: 4i32,
|
|
},
|
|
];
|
|
static WOODLAND_MANSION_POOL2_ENTRIES: &[ChestLootEntry] = &[
|
|
ChestLootEntry {
|
|
item: "minecraft:bone",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 8i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:gunpowder",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 8i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:rotten_flesh",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 8i32,
|
|
},
|
|
ChestLootEntry {
|
|
item: "minecraft:string",
|
|
weight: 10i32,
|
|
min_count: 1i32,
|
|
max_count: 8i32,
|
|
},
|
|
];
|
|
static WOODLAND_MANSION_POOL3_ENTRIES: &[ChestLootEntry] = &[ChestLootEntry {
|
|
item: "minecraft:vex_armor_trim_smithing_template",
|
|
weight: 1i32,
|
|
min_count: 1i32,
|
|
max_count: 1i32,
|
|
}];
|
|
static WOODLAND_MANSION_POOLS: &[ChestLootPool] = &[
|
|
ChestLootPool {
|
|
entries: WOODLAND_MANSION_POOL0_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 3i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: WOODLAND_MANSION_POOL1_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 4i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: WOODLAND_MANSION_POOL2_ENTRIES,
|
|
min_rolls: 3i32,
|
|
max_rolls: 3i32,
|
|
empty_weight: 0i32,
|
|
},
|
|
ChestLootPool {
|
|
entries: WOODLAND_MANSION_POOL3_ENTRIES,
|
|
min_rolls: 1i32,
|
|
max_rolls: 1i32,
|
|
empty_weight: 1i32,
|
|
},
|
|
];
|
|
pub static WOODLAND_MANSION: ChestLootTable = ChestLootTable {
|
|
pools: WOODLAND_MANSION_POOLS,
|
|
};
|
|
#[must_use]
|
|
pub fn get_chest_loot_table(key: &str) -> Option<&'static ChestLootTable> {
|
|
match key {
|
|
"minecraft:chests/abandoned_mineshaft" => Some(&ABANDONED_MINESHAFT),
|
|
"minecraft:chests/ancient_city" => Some(&ANCIENT_CITY),
|
|
"minecraft:chests/ancient_city_ice_box" => Some(&ANCIENT_CITY_ICE_BOX),
|
|
"minecraft:chests/bastion_bridge" => Some(&BASTION_BRIDGE),
|
|
"minecraft:chests/bastion_hoglin_stable" => Some(&BASTION_HOGLIN_STABLE),
|
|
"minecraft:chests/bastion_other" => Some(&BASTION_OTHER),
|
|
"minecraft:chests/bastion_treasure" => Some(&BASTION_TREASURE),
|
|
"minecraft:chests/buried_treasure" => Some(&BURIED_TREASURE),
|
|
"minecraft:chests/desert_pyramid" => Some(&DESERT_PYRAMID),
|
|
"minecraft:chests/end_city_treasure" => Some(&END_CITY_TREASURE),
|
|
"minecraft:chests/igloo_chest" => Some(&IGLOO_CHEST),
|
|
"minecraft:chests/jungle_temple" => Some(&JUNGLE_TEMPLE),
|
|
"minecraft:chests/jungle_temple_dispenser" => Some(&JUNGLE_TEMPLE_DISPENSER),
|
|
"minecraft:chests/nether_bridge" => Some(&NETHER_BRIDGE),
|
|
"minecraft:chests/pillager_outpost" => Some(&PILLAGER_OUTPOST),
|
|
"minecraft:chests/ruined_portal" => Some(&RUINED_PORTAL),
|
|
"minecraft:chests/shipwreck_map" => Some(&SHIPWRECK_MAP),
|
|
"minecraft:chests/shipwreck_supply" => Some(&SHIPWRECK_SUPPLY),
|
|
"minecraft:chests/shipwreck_treasure" => Some(&SHIPWRECK_TREASURE),
|
|
"minecraft:chests/simple_dungeon" => Some(&SIMPLE_DUNGEON),
|
|
"minecraft:chests/spawn_bonus_chest" => Some(&SPAWN_BONUS_CHEST),
|
|
"minecraft:chests/stronghold_corridor" => Some(&STRONGHOLD_CORRIDOR),
|
|
"minecraft:chests/stronghold_crossing" => Some(&STRONGHOLD_CROSSING),
|
|
"minecraft:chests/stronghold_library" => Some(&STRONGHOLD_LIBRARY),
|
|
"minecraft:chests/trial_chambers/corridor" => Some(&TRIAL_CHAMBERS_CORRIDOR),
|
|
"minecraft:chests/trial_chambers/entrance" => Some(&TRIAL_CHAMBERS_ENTRANCE),
|
|
"minecraft:chests/trial_chambers/intersection" => Some(&TRIAL_CHAMBERS_INTERSECTION),
|
|
"minecraft:chests/trial_chambers/intersection_barrel" => {
|
|
Some(&TRIAL_CHAMBERS_INTERSECTION_BARREL)
|
|
}
|
|
"minecraft:chests/trial_chambers/reward" => Some(&TRIAL_CHAMBERS_REWARD),
|
|
"minecraft:chests/trial_chambers/reward_common" => Some(&TRIAL_CHAMBERS_REWARD_COMMON),
|
|
"minecraft:chests/trial_chambers/reward_ominous" => Some(&TRIAL_CHAMBERS_REWARD_OMINOUS),
|
|
"minecraft:chests/trial_chambers/reward_ominous_common" => {
|
|
Some(&TRIAL_CHAMBERS_REWARD_OMINOUS_COMMON)
|
|
}
|
|
"minecraft:chests/trial_chambers/reward_ominous_rare" => {
|
|
Some(&TRIAL_CHAMBERS_REWARD_OMINOUS_RARE)
|
|
}
|
|
"minecraft:chests/trial_chambers/reward_ominous_unique" => {
|
|
Some(&TRIAL_CHAMBERS_REWARD_OMINOUS_UNIQUE)
|
|
}
|
|
"minecraft:chests/trial_chambers/reward_rare" => Some(&TRIAL_CHAMBERS_REWARD_RARE),
|
|
"minecraft:chests/trial_chambers/reward_unique" => Some(&TRIAL_CHAMBERS_REWARD_UNIQUE),
|
|
"minecraft:chests/trial_chambers/supply" => Some(&TRIAL_CHAMBERS_SUPPLY),
|
|
"minecraft:chests/underwater_ruin_big" => Some(&UNDERWATER_RUIN_BIG),
|
|
"minecraft:chests/underwater_ruin_small" => Some(&UNDERWATER_RUIN_SMALL),
|
|
"minecraft:chests/village/village_armorer" => Some(&VILLAGE_VILLAGE_ARMORER),
|
|
"minecraft:chests/village/village_butcher" => Some(&VILLAGE_VILLAGE_BUTCHER),
|
|
"minecraft:chests/village/village_cartographer" => Some(&VILLAGE_VILLAGE_CARTOGRAPHER),
|
|
"minecraft:chests/village/village_desert_house" => Some(&VILLAGE_VILLAGE_DESERT_HOUSE),
|
|
"minecraft:chests/village/village_fisher" => Some(&VILLAGE_VILLAGE_FISHER),
|
|
"minecraft:chests/village/village_fletcher" => Some(&VILLAGE_VILLAGE_FLETCHER),
|
|
"minecraft:chests/village/village_mason" => Some(&VILLAGE_VILLAGE_MASON),
|
|
"minecraft:chests/village/village_plains_house" => Some(&VILLAGE_VILLAGE_PLAINS_HOUSE),
|
|
"minecraft:chests/village/village_savanna_house" => Some(&VILLAGE_VILLAGE_SAVANNA_HOUSE),
|
|
"minecraft:chests/village/village_shepherd" => Some(&VILLAGE_VILLAGE_SHEPHERD),
|
|
"minecraft:chests/village/village_snowy_house" => Some(&VILLAGE_VILLAGE_SNOWY_HOUSE),
|
|
"minecraft:chests/village/village_taiga_house" => Some(&VILLAGE_VILLAGE_TAIGA_HOUSE),
|
|
"minecraft:chests/village/village_tannery" => Some(&VILLAGE_VILLAGE_TANNERY),
|
|
"minecraft:chests/village/village_temple" => Some(&VILLAGE_VILLAGE_TEMPLE),
|
|
"minecraft:chests/village/village_toolsmith" => Some(&VILLAGE_VILLAGE_TOOLSMITH),
|
|
"minecraft:chests/village/village_weaponsmith" => Some(&VILLAGE_VILLAGE_WEAPONSMITH),
|
|
"minecraft:chests/woodland_mansion" => Some(&WOODLAND_MANSION),
|
|
_ => None,
|
|
}
|
|
}
|