-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
faae748
commit dab478d
Showing
3 changed files
with
49 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,53 @@ | ||
//priority: 9001 | ||
|
||
ServerEvents.tags("item", event => { | ||
// Fix empty tags | ||
event.add("minecraft:stone", "#forge:stone"); | ||
event.add("wizards_reborn:arcane_wood_slabs", "wizards_reborn:arcane_wood_slab"); | ||
|
||
event.add("forge:raw_pasta", "#forge:pasta/raw_pasta"); | ||
|
||
event.add("forge:food/raw_pasta", "#forge:pasta/raw_pasta"); | ||
event.add("forge:food/raw_pasta", "#forge:raw_pasta"); | ||
|
||
event.add("forge:grain/barley", "#forge:barley"); | ||
|
||
event.add("forge:foods/raw_rabbit", "minecraft:rabbit"); | ||
|
||
event.add("forge:water_bucket", "#forge:buckets/water"); | ||
|
||
// Would be so nice if the let's do dev was using forge tags | ||
event.add("c:sugar", "#forge:dusts/sugar"); | ||
event.add("c:grain/oat", "#forge:grain/oat"); | ||
event.add("c:bones", "#forge:bones"); | ||
event.add("c:fruits/strawberries", "#forge:fruits/strawberries"); | ||
|
||
// Because having one set of tags that makes sense is too much to ask for humble onions | ||
event.add("forge:vegetables/onion", "#forge:crops/onion"); | ||
event.add("forge:crops/onion", "#forge:vegetables/onion"); | ||
event.add("c:crops/onion", "#forge:crops/onion"); | ||
|
||
event.add("c:crops/tomato", "#forge:crops/tomato"); | ||
// what was wrong with #forge:tools/knives in the first place? | ||
event.add("lets_do_addon_compat:tools/knives", "#forge:tools/knives"); | ||
|
||
|
||
|
||
// Ingredient.of("#forge:stone").itemIds.forEach(item => event.add(item, "minecraft:stone")); | ||
}) | ||
|
||
ServerEvents.tags('fluid', event => { | ||
const fluids = [ | ||
"iron", "gold", "copper", "lead", "silver", "nickel", "tin", "zinc", | ||
"platinum", "bronze", "electrum", "brass", "invar", "steel" | ||
] | ||
|
||
const fluidTagstoAdd = [ | ||
{ gtceu: 'gtceu:iron', tag: 'forge:molten_iron'}, | ||
{ gtceu: 'gtceu:gold', tag: 'forge:molten_gold'}, | ||
{ gtceu: 'gtceu:copper', tag: 'forge:molten_copper'}, | ||
{ gtceu: 'gtceu:lead', tag: 'forge:molten_lead'}, | ||
{ gtceu: 'gtceu:silver', tag: 'forge:molten_silver'}, | ||
{ gtceu: 'gtceu:nickel', tag: 'forge:molten_nickel'}, | ||
{ gtceu: 'gtceu:tin', tag: 'forge:molten_tin'}, | ||
{ gtceu: 'gtceu:aluminium', tag: 'forge:molten_aluminum'}, | ||
{ gtceu: 'gtceu:zinc', tag: 'forge:molten_zinc'}, | ||
{ gtceu: 'gtceu:platinum', tag: 'forge:molten_platinum'}, | ||
{ gtceu: 'gtceu:bronze', tag: 'forge:molten_bronze'}, | ||
{ gtceu: 'gtceu:electrum', tag: 'forge:molten_electrum'}, | ||
{ gtceu: 'gtceu:brass', tag: 'forge:molten_brass'}, | ||
{ gtceu: 'gtceu:invar', tag: 'forge:molten_invar'}, | ||
{ gtceu: 'gtceu:steel', tag: 'forge:molten_steel'} | ||
]; | ||
|
||
fluidTagstoAdd.forEach( | ||
tags => { | ||
event.add(tags.gtceu, tags.tag); | ||
event.add(tags.tag, tags.gtceu); | ||
} | ||
); | ||
}); | ||
event.add("gtceu:aluminium", "#forge:molten_aluminum"); | ||
event.add("forge:molten_aluminum", "gtceu:aluminium"); | ||
|
||
fluids.forEach(f => { | ||
event.add(`gtceu:${f}`, `#forge:molten_${f}`); | ||
event.add(`forge:molten_${f}`, `#gtceu:${f}`); | ||
}); | ||
|
||
// ServerEvents.tags("item", event => {}) | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters