-
Notifications
You must be signed in to change notification settings - Fork 68
Customizing Resonance Drops
Resonance is an enchantment valid for mining tools, which unlocks in the late game tree. When destroying a block with a resonance enchanted tool, all drops of one item type will be converted to a whole other item type.
You can specify additional resonance drops, or edit existing ones, by placing json files in the directory <data_pack_or_mod_name>/resonance_drops/
.
Setting the flag drop_self
to true makes Resonance act as Silk Touch for block
. You can also specify to copy block entity or block state data.
-
(Block or Block Tag) block
: The block / block tag that this entry triggers on -
(Boolean) drop_self
: Makes the Block drop as-is (like Silk Touch does) -
(String[]) nbt_to_copy
: Block Entity NBT to preserve -
(String[]) state_properties_to_copy
: Block State Properties to preserve -
(Boolean) include_default_state_tags
: Normally, state properties that are the default will be omitted to make items stack. By setting this flag to true, those will be copied regardless
{
"block": "spectrum:black_materia",
"drop_self": true
}
{
"block": "#c:buds",
"drop_self": true
}
When a Sculk Shrieker is broken, retain the ability to summon the Warden.
{
"block": "minecraft:sculk_shrieker",
"drop_self": true,
"state_tags_to_copy": [
"can_summon"
]
}
When a block in the minecraft:signs
tag is broken with Resonance, various kinds of block entity data is preserved.
{
"block": "#minecraft:signs",
"drop_self": true,
"nbt_to_copy": [
"GlowingText",
"Color",
"Text1",
"Text2",
"Text3",
"Text4"
]
}
-
(Block or Block Tag) block
: The block / block tag that this entry triggers on -
(List) modify_drops
:-
(Ingredient) input
: The ingredient that will get matched and switched dooutput
-
(Identifier) output
: The item that will be dropped instead
-
{
"block": "#c:ores",
"modify_drops": [
{
"input": {
"item": "minecraft:coal"
},
"output": "spectrum:pure_coal"
},
{
"input": {
"tag": "c:raw_copper"
},
"output": "spectrum:pure_copper"
}
]
}
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