-
Notifications
You must be signed in to change notification settings - Fork 68
New Loot Conditions
Spectrum adds new loot conditions that can be used in loot tables to check if certain conditions are met.
Checks if a kill was done with a Treasure Hunter enchanted tool.
Note that this condition also checks if the player has unlocked the Treasure Hunter enchantment. If the enchantment is still showing up obfuscated for the player it always defaults to false
.
Entry | Type | Description |
---|---|---|
chance | float | The chance of this criterion evaluating to true, multiplied by the used tools level of Treasure Hunter |
advancement_trigger | string | When this criterion evaluates to true, a string used for triggering the Treasure Hunter Drop Advancement Criterion |
When the loot table is triggered by a kill with a Treasure Hunter I enchanted tool, there will be a 10% chance of dropping a Wither Skeleton Skull. (20% for Treasure Hunter II, ...).
When the skull drops, the player receives advancements that check for the mob_head
descriptor in the spectrum:treasure_hunter_drop
advancement criterion.
{
"type": "minecraft:item",
"name": "minecraft:wither_skeleton_skull",
"conditions": [
{
"condition": "spectrum:random_chance_with_treasure_hunter",
"chance": 0.1,
"advancement_trigger": "mob_head"
}
]
}
General
For Players
- Getting Started
- Mixing Colors
- Stuck on how to progress?
- Main Progression Steps (MAJOR SPOILERS)
For Server Admins / Modpack Creators
- Integrating into Modpacks
- Adjusting Progression
- Advancement Criteria
- 1.7.x: Patchouli Pages
- 1.7.x: Patchouli Recipe Pages
- 1.8.x: Modonomicon Pages
- 1.8.x: Modonomicon Recipe Pages
- Commands
- Type Specific Predicates
- JsonNBT
For Map Makers
Recipe Types
- Custom Pigment Pedestal Recipes
- Custom Anvil Crushing Recipes
- Custom Fusion Shrine Recipes
- Custom Enchanter Recipes
- Custom Enchantment Upgrade Recipes
- Custom Potion Workshop Brewing Recipes
- Custom Potion Workshop Crafting Recipes
- Custom Potion Workshop Reagents
- Custom Spirit Instiller Recipes
- Custom Liquid Dipping Recipes
- Custom Ink Converting Recipes
- Custom Crystallarieum Recipes
- Custom Cinderhearth Recipes
- Custom Titration Barrel Recipes
- Fluid Ingredients
Loot Tables
More Customisation
- Adding Nature's Staff Conversions
- Adding Entity Fishing Entries
- Adding Resonance Drops
- Adding Crystal Apothecary Harvestables
- Adding Particle Spawner Particles
For Contributors