Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[1.16.4]Ore Dictionary still in use?


Cratthorax
 Share

Recommended Posts

Hello,

is the Ore Dictionary still in use? There doesn't seem to be an article for version 1.17 MC and beyond?

Also, if it is still in use, how many mods make use of it?

I'm asking because I had it implemented for my 1.5.2-1.7 versions of Material Evolution. But I feel like it's wasted energy to implement it again for 1.16.4, if it is not used anyways?

Edited by Cratthorax
Link to comment
Share on other sites

No, it's handled by Tags now.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

the game comes with their own thing now - called tags, so  - obviously - forge dropped oredictionary in favor of tags.

if you're for example adding a new zinc ingot, you'll need to make a json file in resources/data/forge/tags/items called ingots.json and add your ingot there. that's for things that need all ingots (and i probably should have skipped that one in order not to confuse people). more importantly, in resources/data/forge/tags/items/ingots make a file called zinc.json - that will register your item tag. in addition to item tags, there are block tags (separate thing), fluid tags...

for json content see other mods.

then, in recipes, instead of saying     "item": "your_mod_id:ingot_zinc"    you say     "tag": "forge:ingots/zinc"  . and then crafting table will accept both your ingot and other mods' ingots.

in code, for example, if you have a blockstate that player clicked or stepped on, you can called its is() method to see if this block belongs to a given tag.

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.