Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 04/10/23 in all areas

  1. 1) Use the event to register your listener 2) During the prepare stage of the listener, parse the json files 3) During the accept stage populate your data structure(s) from the previously parsed json data The subclasses of PreparableReloadListener provide many "frameworks" for common use cases. I already linked a forge example, or you can look at one of the many vanilla examples (recipes, loot tables, etc.) or the similar processing of assets from resource packs (models, textures, etc.) or you can search github for other mods doing something like what you are trying to do, e.g. https://github.com/search?l=Java&q=SimpleJsonResourceReloadListener&type=Code Beyond that, your question lies outside the scope of this forum. Feel free to ask more specifics questions where you have at least tried to implement something, rather than "tell me how to write my mod for me" type questions.
    1 point
  2. Legendary tool tips is a broken client side only mod you don't need on the server.
    1 point
  3. What do you mean about bushes generation? You can always look at vanilla files to see how they works, one thing that comes to my mind when talking about bushes is regarding the jungle patches of leaves that you can find in jungle biomes. You can look at the files for these and copy/edit them to suit your needs
    1 point
  4. Sorry, you said after eating, not crafting. Look at HoneyBottleItem.finishUsingItem() or one of the vanilla items that gives a remainder.
    1 point
  5. Oculus cannot be installed on servers, remove it from server-side. Note that you can still have it installed on clients that join this server.
    1 point
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.