Thaumcraft Treasure Bags: Difference between revisions

From GT New Horizons
Content added Content deleted
(Add probabilities for each treasure type, and link to champion mobs.)
m (→‎Loot: link)
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[File:TCLootbags.png|right]]
The mod Thaumcraft adds three treasure bags: Common Treasure, Uncommon Treasure, and Rare Treasure. They are obtained primarily by killing Thaumcraft's [[Champion Mobs|champion mobs]]. Right-clicking opens them, which gives a variety of Vanilla and Thaumcraft-related resources.
The mod Thaumcraft adds three treasure bags: Common Treasure, Uncommon Treasure, and Rare Treasure. They are obtained primarily by killing Thaumcraft's [[Champion Mobs|champion mobs]], either by the player or a player-kill device like Diamond Spikes. Right-clicking opens them, which gives a variety of Vanilla and Thaumcraft-related [[Loot]].


== Obtaining Treasure Bags ==
== Obtaining Treasure Bags ==
Line 38: Line 39:
== Loot ==
== Loot ==


When the bag is opened, Thaumcraft generates loot through a multi-step process, and spawns all the items in the player's foot.
Common and uncommon treasures typically give coins. They may also give several types of potions, including splash potions of weakness. Rare treasures may also rarely give nether stars and primordial pearls, with a chance of 1 in 2651 for each.


Thaumcraft generates between 8 and 12 "loot items" whenever a bag is opened, regardless of its rarity<ref><code>thaumcraft.common.items.ItemLootBag.func_77659_a</code></ref>. For common treasure, all loot items are drawn from the weighted loot table below. Uncommon and rare treasures also draw items from the loot table, but uncommon treasures have a 2.5% chance of dropping gear instead, and rare treasures have a 5% chance of dropping gear instead<ref name=":0"><code>thaumcraft.common.lib.utils.Utils.generateLoot</code></ref>. The gear loot table is described below.
== References ==
{| class="wikitable"
|+List of items and corresponding weights for each rarity<ref><code>thaumcraft.common.config.Config.initLoot</code></ref>
!Item
!Common
!Uncommon
!Rare
|-
|''Total Weight''
|2967
|2837
|2615
|-
|1x gold coin
|2500
|0
|0
|-
|2x gold coin
|0
|2250
|0
|-
|3x gold coin
|0
|0
|2000
|-
|Primordial Pearl
|0
|0
|1
|-
|[[Nether Star]]
|0
|0
|1
|-
|Diamond
|10
|50
|50
|-
|Emerald
|15
|75
|75
|-
|Gold Ingot
|100
|100
|100
|-
|Ender Pearl
|100
|100
|100
|-
|Knowledge Fragment
|25
|25
|25
|-
|Mundane Amulet
|10
|0
|0
|-
|Mundane Ring
|10
|0
|0
|-
|Mundane Belt
|10
|0
|0
|-
|Apprentices Ring of Aer
|0
|5
|7
|-
|Apprentices Ring of Terra
|0
|5
|7
|-
|Apprentices Ring of Ignis
|0
|5
|7
|-
|Apprentices Ring of Aqua
|0
|5
|7
|-
|Apprentices Ring of Ordo
|0
|5
|7
|-
|Apprentices Ring of Perditio
|0
|5
|7
|-
|Vis Stone<ref>The vis stone is filled with 0-4 vis for each aspect, uniformly at random. The vis selection is determined during initialization and stays the same until the server restarts.</ref>
|0
|6
|6
|-
|Ring of Protection
|0
|5
|5
|-
|Bottle o' Enchanting
|5
|10
|20
|-
|Enchanted Golden Apple
|1
|2
|3
|-
|Golden Apple
|3
|6
|9
|-
|Enchanted Book<ref>Enchanted books are enchanted as if in a vanilla enchanting table with enchanting power 5 for common treasures, between 5 and 18.5 for uncommon treasures, and between 5 and 32 for rare treasures (see https://minecraft.wiki/w/Enchanting_mechanics for more info on how the enchanting power is used). However, due to a bug in the code, once the very first enchanted book is dropped, all future enchanted books will have the same enchantments, until the server restarts.</ref>
|10
|10
|10
|-
|Potion of Regeneration
|1
|1
|1
|-
|Potion of Regeneration II
|2
|2
|2
|-
|Potion of Regeneration (extended)
|3
|3
|3
|-
|Splash Potion of Regeneration
|1
|1
|1
|-
|Splash Potion of Regeneration II
|2
|2
|2
|-
|Splash Potion of Regeneration (extended)
|3
|3
|3
|-
|Potion of Swiftness
|1
|1
|1
|-
|Potion of Swiftness II
|2
|2
|2
|-
|Potion of Swiftness (extended)
|3
|3
|3
|-
|Splash Potion of Swiftness
|1
|1
|1
|-
|Splash Potion of Swiftness II
|2
|2
|2
|-
|Splash Potion of Swiftness (extended)
|3
|3
|3
|-
|Potion of Fire Resistance
|1
|1
|1
|-
|Potion of Fire Resistance II
|2
|2
|2
|-
|Potion of Fire Resistance (extended)
|3
|3
|3
|-
|Splash Potion of Fire Resistance
|1
|1
|1
|-
|Splash Potion of Fire Resistance II
|2
|2
|2
|-
|Splash Potion of Fire Resistance (extended)
|3
|3
|3
|-
|Potion of Poison
|1
|1
|1
|-
|Potion of Poison II
|2
|2
|2
|-
|Potion of Poison (extended)
|3
|3
|3
|-
|Splash Potion of Poison
|1
|1
|1
|-
|Splash Potion of Poison II
|2
|2
|2
|-
|Splash Potion of Poison (extended)
|3
|3
|3
|-
|Potion of Healing
|1
|1
|1
|-
|Potion of Healing II
|2
|2
|2
|-
|Potion of Healing (extended)
|3
|3
|3
|-
|Splash Potion of Healing
|1
|1
|1
|-
|Splash Potion of Healing II
|2
|2
|2
|-
|Splash Potion of Healing (extended)
|3
|3
|3
|-
|Potion of Night Vision
|1
|1
|1
|-
|Potion of Night Vision II
|2
|2
|2
|-
|Potion of Night Vision (extended)
|3
|3
|3
|-
|Splash Potion of Night Vision
|1
|1
|1
|-
|Splash Potion of Night Vision II
|2
|2
|2
|-
|Splash Potion of Night Vision (extended)
|3
|3
|3
|-
|Potion of Nausea
|1
|1
|1
|-
|Potion of Nausea II
|2
|2
|2
|-
|Potion of Nausea (extended)
|3
|3
|3
|-
|Splash Potion of Nausea
|1
|1
|1
|-
|Splash Potion of Nausea II
|2
|2
|2
|-
|Splash Potion of Nausea (extended)
|3
|3
|3
|-
|Potion of Weakness
|1
|1
|1
|-
|Potion of Weakness II
|2
|2
|2
|-
|Potion of Weakness (extended)
|3
|3
|3
|-
|Splash Potion of Weakness
|1
|1
|1
|-
|Splash Potion of Weakness II
|2
|2
|2
|-
|Splash Potion of Weakness (extended)
|3
|3
|3
|-
|Potion of Strength
|1
|1
|1
|-
|Potion of Strength II
|2
|2
|2
|-
|Potion of Strength (extended)
|3
|3
|3
|-
|Splash Potion of Strength
|1
|1
|1
|-
|Splash Potion of Strength II
|2
|2
|2
|-
|Splash Potion of Strength (extended)
|3
|3
|3
|-
|Potion of Slowness
|1
|1
|1
|-
|Potion of Slowness II
|2
|2
|2
|-
|Potion of Slowness (extended)
|3
|3
|3
|-
|Splash Potion of Slowness
|1
|1
|1
|-
|Splash Potion of Slowness II
|2
|2
|2
|-
|Splash Potion of Slowness (extended)
|3
|3
|3
|-
|Potion of Decay
|1
|1
|1
|-
|Potion of Decay II
|2
|2
|2
|-
|Potion of Decay (extended)
|3
|3
|3
|-
|Splash Potion of Decay
|1
|1
|1
|-
|Splash Potion of Decay II
|2
|2
|2
|-
|Splash Potion of Decay (extended)
|3
|3
|3
|-
|Potion of Harming
|1
|1
|1
|-
|Potion of Harming II
|2
|2
|2
|-
|Potion of Harming (extended)
|3
|3
|3
|-
|Splash Potion of Harming
|1
|1
|1
|-
|Splash Potion of Harming II
|2
|2
|2
|-
|Splash Potion of Harming (extended)
|3
|3
|3
|-
|Potion of Water Breathing
|1
|1
|1
|-
|Potion of Water Breathing II
|2
|2
|2
|-
|Potion of Water Breathing (extended)
|3
|3
|3
|-
|Splash Potion of Water Breathing
|1
|1
|1
|-
|Splash Potion of Water Breathing II
|2
|2
|2
|-
|Splash Potion of Water Breathing (extended)
|3
|3
|3
|-
|Potion of Invisibility
|1
|1
|1
|-
|Potion of Invisibility II
|2
|2
|2
|-
|Potion of Invisibility (extended)
|3
|3
|3
|-
|Splash Potion of Invisibility
|1
|1
|1
|-
|Splash Potion of Invisibility II
|2
|2
|2
|-
|Splash Potion of Invisibility (extended)
|3
|3
|3
|}

=== Generating Gear ===
Uncommon treasures have 2.5% of chance of dropping gear instead of drops from the table above, and rare treasures have 5% of chance of dropping gear<ref name=":0" />. Dropped gear follows a different distribution. The type of gear (either a helmet, chestplate, leggings, boots, or weapon) is chosen with equal probability, and the specific item is chosen with the following weighted distribution.
{| class="wikitable"
|+Weighted probability for each type of gear<ref><code>thaumcraft.common.lib.utils.Utils.getGearItemForSlot</code></ref>
!Probability<ref name=":1"><code>thaumcraft.common.lib.utils.Utils.genGear</code></ref>
!Helmet
!Chestplate
!Leggings
!Boots
!Weapon
|-
|25.1% (5012433/20000000)
|Leather Helmet
|Leather Tunic
|Leather Pants
|Leather Boots
|Iron Axe
|-
|43.8% (35037437/80000000)
|Golden Helmet
|Golden Chestplate
|Golden Leggings
|Golden Boots
|Iron Sword
|-
|24.1% (3861223/16000000)
|Chain Helmet
|Chain Chestplate
|Chain Leggings
|Chain Boots
|Golden Axe
|-
|6.15% (492063/8000000)
|Iron Helmet
|Iron Chestplate
|Iron Leggings
|Iron Boots
|Golden Sword
|-
|0.804% (64307/8000000)
|Thaumium Helm
|Thaumium Chestplate
|Thaumium Leggings
|Thaumium Boots
|Thaumium Sword
|-
|0.00052% (41933/80000000)
|Diamond Helmet
|Diamond Chestplate
|Diamond Leggings
|Diamond Boots
|Diamond Sword
|-
|0.0000135% (1083/80000000)
|Void Helm
|Void Chestplate
|Void Leggings
|Void Boots
|Void Sword
|}
The gear will be damaged by up to 1/6 of its maximum durability. Gear from uncommon treasure bags have 25% of chance of being enchanted (using a random enchantability between 5 and 18.5), and gear from rare treasure bags have 50% of chance of being enchanted (using a random enchantability between 5 and 32).<ref name=":1" />

==References==

<references />
[[Category:Loot]][[Category:Thaumcraft]]

Latest revision as of 04:39, 18 October 2023

The mod Thaumcraft adds three treasure bags: Common Treasure, Uncommon Treasure, and Rare Treasure. They are obtained primarily by killing Thaumcraft's champion mobs, either by the player or a player-kill device like Diamond Spikes. Right-clicking opens them, which gives a variety of Vanilla and Thaumcraft-related Loot.

Obtaining Treasure Bags

The primary source of treasure bags is by killing champion mobs. Treasure bags are a player-only kill, though some fake players (most notably Dynamism Tablets) can still get them. A treasure bag is guaranteed to drop, and the chances of getting each treasure type are determined by the looting level of the weapon used to kill the mob[1].

Chance of getting each treasure bag
Looting level Common Uncommon Rare
No looting 5/9 4/9 0
Looting I 4/9 5/9 0
Looting II 3/9 5/9 1/9
Looting III 2/9 5/9 2/9
Looting IV 1/9 5/9 3/9
Looting V 0 5/9 4/9
Looting VI 0 4/9 5/9
Looting VII 0 3/9 6/9
Looting VIII 0 2/9 7/9
Looting IX 0 1/9 8/9
Looting X and above 0 0 1

Note that Looting IV and above can only be obtained with non-vanilla methods.

Besides killing champion mobs, Kobolds from The Twilight Forest drop common treasures, and Thaumcraft bosses drop rare treasures.

Loot

When the bag is opened, Thaumcraft generates loot through a multi-step process, and spawns all the items in the player's foot.

Thaumcraft generates between 8 and 12 "loot items" whenever a bag is opened, regardless of its rarity[2]. For common treasure, all loot items are drawn from the weighted loot table below. Uncommon and rare treasures also draw items from the loot table, but uncommon treasures have a 2.5% chance of dropping gear instead, and rare treasures have a 5% chance of dropping gear instead[3]. The gear loot table is described below.

List of items and corresponding weights for each rarity[4]
Item Common Uncommon Rare
Total Weight 2967 2837 2615
1x gold coin 2500 0 0
2x gold coin 0 2250 0
3x gold coin 0 0 2000
Primordial Pearl 0 0 1
Nether Star 0 0 1
Diamond 10 50 50
Emerald 15 75 75
Gold Ingot 100 100 100
Ender Pearl 100 100 100
Knowledge Fragment 25 25 25
Mundane Amulet 10 0 0
Mundane Ring 10 0 0
Mundane Belt 10 0 0
Apprentices Ring of Aer 0 5 7
Apprentices Ring of Terra 0 5 7
Apprentices Ring of Ignis 0 5 7
Apprentices Ring of Aqua 0 5 7
Apprentices Ring of Ordo 0 5 7
Apprentices Ring of Perditio 0 5 7
Vis Stone[5] 0 6 6
Ring of Protection 0 5 5
Bottle o' Enchanting 5 10 20
Enchanted Golden Apple 1 2 3
Golden Apple 3 6 9
Enchanted Book[6] 10 10 10
Potion of Regeneration 1 1 1
Potion of Regeneration II 2 2 2
Potion of Regeneration (extended) 3 3 3
Splash Potion of Regeneration 1 1 1
Splash Potion of Regeneration II 2 2 2
Splash Potion of Regeneration (extended) 3 3 3
Potion of Swiftness 1 1 1
Potion of Swiftness II 2 2 2
Potion of Swiftness (extended) 3 3 3
Splash Potion of Swiftness 1 1 1
Splash Potion of Swiftness II 2 2 2
Splash Potion of Swiftness (extended) 3 3 3
Potion of Fire Resistance 1 1 1
Potion of Fire Resistance II 2 2 2
Potion of Fire Resistance (extended) 3 3 3
Splash Potion of Fire Resistance 1 1 1
Splash Potion of Fire Resistance II 2 2 2
Splash Potion of Fire Resistance (extended) 3 3 3
Potion of Poison 1 1 1
Potion of Poison II 2 2 2
Potion of Poison (extended) 3 3 3
Splash Potion of Poison 1 1 1
Splash Potion of Poison II 2 2 2
Splash Potion of Poison (extended) 3 3 3
Potion of Healing 1 1 1
Potion of Healing II 2 2 2
Potion of Healing (extended) 3 3 3
Splash Potion of Healing 1 1 1
Splash Potion of Healing II 2 2 2
Splash Potion of Healing (extended) 3 3 3
Potion of Night Vision 1 1 1
Potion of Night Vision II 2 2 2
Potion of Night Vision (extended) 3 3 3
Splash Potion of Night Vision 1 1 1
Splash Potion of Night Vision II 2 2 2
Splash Potion of Night Vision (extended) 3 3 3
Potion of Nausea 1 1 1
Potion of Nausea II 2 2 2
Potion of Nausea (extended) 3 3 3
Splash Potion of Nausea 1 1 1
Splash Potion of Nausea II 2 2 2
Splash Potion of Nausea (extended) 3 3 3
Potion of Weakness 1 1 1
Potion of Weakness II 2 2 2
Potion of Weakness (extended) 3 3 3
Splash Potion of Weakness 1 1 1
Splash Potion of Weakness II 2 2 2
Splash Potion of Weakness (extended) 3 3 3
Potion of Strength 1 1 1
Potion of Strength II 2 2 2
Potion of Strength (extended) 3 3 3
Splash Potion of Strength 1 1 1
Splash Potion of Strength II 2 2 2
Splash Potion of Strength (extended) 3 3 3
Potion of Slowness 1 1 1
Potion of Slowness II 2 2 2
Potion of Slowness (extended) 3 3 3
Splash Potion of Slowness 1 1 1
Splash Potion of Slowness II 2 2 2
Splash Potion of Slowness (extended) 3 3 3
Potion of Decay 1 1 1
Potion of Decay II 2 2 2
Potion of Decay (extended) 3 3 3
Splash Potion of Decay 1 1 1
Splash Potion of Decay II 2 2 2
Splash Potion of Decay (extended) 3 3 3
Potion of Harming 1 1 1
Potion of Harming II 2 2 2
Potion of Harming (extended) 3 3 3
Splash Potion of Harming 1 1 1
Splash Potion of Harming II 2 2 2
Splash Potion of Harming (extended) 3 3 3
Potion of Water Breathing 1 1 1
Potion of Water Breathing II 2 2 2
Potion of Water Breathing (extended) 3 3 3
Splash Potion of Water Breathing 1 1 1
Splash Potion of Water Breathing II 2 2 2
Splash Potion of Water Breathing (extended) 3 3 3
Potion of Invisibility 1 1 1
Potion of Invisibility II 2 2 2
Potion of Invisibility (extended) 3 3 3
Splash Potion of Invisibility 1 1 1
Splash Potion of Invisibility II 2 2 2
Splash Potion of Invisibility (extended) 3 3 3

Generating Gear

Uncommon treasures have 2.5% of chance of dropping gear instead of drops from the table above, and rare treasures have 5% of chance of dropping gear[3]. Dropped gear follows a different distribution. The type of gear (either a helmet, chestplate, leggings, boots, or weapon) is chosen with equal probability, and the specific item is chosen with the following weighted distribution.

Weighted probability for each type of gear[7]
Probability[8] Helmet Chestplate Leggings Boots Weapon
25.1% (5012433/20000000) Leather Helmet Leather Tunic Leather Pants Leather Boots Iron Axe
43.8% (35037437/80000000) Golden Helmet Golden Chestplate Golden Leggings Golden Boots Iron Sword
24.1% (3861223/16000000) Chain Helmet Chain Chestplate Chain Leggings Chain Boots Golden Axe
6.15% (492063/8000000) Iron Helmet Iron Chestplate Iron Leggings Iron Boots Golden Sword
0.804% (64307/8000000) Thaumium Helm Thaumium Chestplate Thaumium Leggings Thaumium Boots Thaumium Sword
0.00052% (41933/80000000) Diamond Helmet Diamond Chestplate Diamond Leggings Diamond Boots Diamond Sword
0.0000135% (1083/80000000) Void Helm Void Chestplate Void Leggings Void Boots Void Sword

The gear will be damaged by up to 1/6 of its maximum durability. Gear from uncommon treasure bags have 25% of chance of being enchanted (using a random enchantability between 5 and 18.5), and gear from rare treasure bags have 50% of chance of being enchanted (using a random enchantability between 5 and 32).[8]

References

  1. thaumcraft.common.lib.events.EventHandlerEntity.livingDrops
  2. thaumcraft.common.items.ItemLootBag.func_77659_a
  3. 3.0 3.1 thaumcraft.common.lib.utils.Utils.generateLoot
  4. thaumcraft.common.config.Config.initLoot
  5. The vis stone is filled with 0-4 vis for each aspect, uniformly at random. The vis selection is determined during initialization and stays the same until the server restarts.
  6. Enchanted books are enchanted as if in a vanilla enchanting table with enchanting power 5 for common treasures, between 5 and 18.5 for uncommon treasures, and between 5 and 32 for rare treasures (see https://minecraft.wiki/w/Enchanting_mechanics for more info on how the enchanting power is used). However, due to a bug in the code, once the very first enchanted book is dropped, all future enchanted books will have the same enchantments, until the server restarts.
  7. thaumcraft.common.lib.utils.Utils.getGearItemForSlot
  8. 8.0 8.1 thaumcraft.common.lib.utils.Utils.genGear