clear out tags from createaddition
This commit is contained in:
parent
be32c2f9d7
commit
d81795d4d5
1 changed files with 17 additions and 1 deletions
|
|
@ -15,9 +15,25 @@ const unifyMaterials = event => {
|
||||||
event.add('forge:hides', 'minecraft:rabbit_hide');
|
event.add('forge:hides', 'minecraft:rabbit_hide');
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const clearTags = event => {
|
||||||
|
[
|
||||||
|
'createaddition:brass_rod',
|
||||||
|
'createaddition:copper_rod',
|
||||||
|
'createaddition:copper_spool',
|
||||||
|
'createaddition:copper_wire',
|
||||||
|
'createaddition:diamond_grit',
|
||||||
|
'createaddition:gold_rod',
|
||||||
|
'createaddition:gold_spool',
|
||||||
|
'createaddition:gold_wire',
|
||||||
|
'createaddition:iron_rod',
|
||||||
|
'createaddition:iron_wire',
|
||||||
|
'createaddition:zinc_sheet',
|
||||||
|
].forEach(x => event.removeAllTagsFrom(x));
|
||||||
|
};
|
||||||
|
|
||||||
onEvent('item.tags', event => {
|
onEvent('item.tags', event => {
|
||||||
unifyMaterials(event);
|
unifyMaterials(event);
|
||||||
|
clearTags(event);
|
||||||
event.add('thermal:crafting/dies', global.ie('mold_wire'));
|
event.add('thermal:crafting/dies', global.ie('mold_wire'));
|
||||||
event.add('thermal:crafting/dies', global.ie('mold_bullet_casing'));
|
event.add('thermal:crafting/dies', global.ie('mold_bullet_casing'));
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue