brachy84 / DevTech

Gregtech Community Edition addon
7 stars 3 forks source link

[BUG] Registering MetaItem With oreDict Issue #10

Open jude123412 opened 8 months ago

jude123412 commented 8 months ago

Describe the bug registering different metaitems with the same oredictionary name doesn't add more than one ore dictionary to a single item.

Versions Forge: 14.24.5.2860 GTCEU: 2.7.4 Devtech:2.1.4 Crafttweaker: 4.1.20.696

Setup Playing Solo In any world will work

Steps To Reproduce register two MetaItems with different names inside a .zs file, Then add .oreDict("circuitUv"); for instance at the end to both MetaItems.

Expected behavior Only one of the new metaItem will have the circuitUv oreDict added to it. This screenshot shows that one Item doesn't have an oreDict entry and the second item has circuitOpv ore Dict.

bug

The first Item in this screenshot has this as its script. MetaItem.create(815, "circuit.anti_mainframe").oreDict("circuitOpv");

the second Item has this as its script. MetaItem.create(818, "circuit.temporally_unstable_supercomputer").oreDict("circuitOpv");

Additional context I'm trying to add higher tier circuits all the way to Max tier but this has got in the way. the script also has #loader gregtech at the top along with import mods.gregtech.MetaItem;