paulevsGitch / BetterNether

BetterNether Mod
GNU General Public License v3.0
105 stars 73 forks source link

Can you make Tools compatible with LevelZ - Give them material ID ( Your Armor works fine ) [Suggestion] #515

Closed xR4YM0ND closed 2 years ago

xR4YM0ND commented 2 years ago

Description

I can add the material "cincinnasite" for armor but not for tools

paulevsGitch commented 2 years ago

All tools already have materials in their constructor, can you please explain what do you mean?

xR4YM0ND commented 2 years ago

Discord?

xR4YM0ND commented 2 years ago

I wanna make a datapack for LevelZ and Better Nether / Better End

I can add Armor like { "replace": true, "skill": "defense", "level": 5, "item": "minecraft:armor", "material": "cincinnasite" } and it works. Now i can only equip my Cincinnasite Armor when im Level 5 in Defense

I wanna add Swords like { "replace": true, "skill": "strength", "level": 5, "item": "minecraft:sword", "material": "cincinnasite" } Normally it would work but it doesnt

With Better End { "replace": true, "skill": "strength", "level": 5, "item": "minecraft:sword", "material": "thallasium" } it works and i can only use the thallasium sword when im level 5 in Strength

paulevsGitch commented 2 years ago

Both Cincinnasite sword and tools use same material, so I'm not sure why it works for tools and not work for sword

xR4YM0ND commented 2 years ago

Let me Double Check that

xR4YM0ND commented 2 years ago

Nope doesnt Work Form all the Tools in Better Nether

quiqueck commented 2 years ago

Actually I am not sure why this works for a thallasium sword...

paulevsGitch commented 2 years ago

Can this be a tags issue?

xR4YM0ND commented 2 years ago

The LevelZ Author told me he get the material id through "Enum's" - but im not sure about that, i dont even know what that means exactly

quiqueck commented 2 years ago

I am not sure how the thallasium-name is connected to a tool tier. As far as I can see, that name is only set for the armor armor-material and as a prefix everything that is related to thallasium (like thallasium_ore).

The enums may be a good lead. BE handles the Materials as enums, BN uses a plain class

quiqueck commented 2 years ago

This should be fixed in 6.0.11. Please re-open this issues if you are still having problems.