Jump to content

warjort

Members
  • Posts

    5420
  • Joined

  • Last visited

  • Days Won

    175

Everything posted by warjort

  1. Check you have the latest version then contact the mod author. The "incompatible" part is a red-herring. It just means the mod author hasn't specified the correct version in the metadata for their datapack, usually because they haven't updated the value since they first created their mod for a previous version of minecraft. Unless they are actually using bleeding edge datapack features this is unlikely to be a problem.
  2. https://github.com/MinecraftForge/MinecraftForge/blob/1.19.x/src/main/java/net/minecraftforge/client/event/ScreenEvent.java The hard part with changing vanilla screens is doing it in a way that doesn't conflict with other mods doing similar things.
  3. Neither bots/cheats or 1.16.5 are supported in this forum.
  4. Check you have the latest version then contact the mod author.
  5. Also you should ask the Dawncraft modpack authors. They should have more idea what is going on with their modpack and common problems with it.
  6. Post a link to your logs/debug.log That crash report is just showing a crash while trying to produce the crash report. 🙂
  7. 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.
  8. Legendary tool tips is a broken client side only mod you don't need on the server.
  9. This is a basic java question, that usually don't get answered here. You need to learn java (or one of the other jvm languages like koitlin or scala) to write mods effectively. Buy a book or use an online course. Anyway: getEmptySuccessItem is a static helper method used by BucketItem.use() static methods are not polymorphic, you cannot override them in subclasses.
  10. Post the launcher_log.txt from directly after the crash.
  11. Your fml.toml file is corrupted/invalid. If you don't have a backup, try deleting it and it should be recreated with default values.
  12. There is no error in that log (and please put logs on a file sharing site). Post a link to your launcher_log.txt from directly after the crash.
  13. Check you have the latest version then contact the mod author.
  14. Something is not registered properly for the CoffeeDelight mod. Check you have the latest version then contact the mod author.
  15. Duplicate post.
  16. Looks like at least one of the forge files is missing? Whatever did your forge install didn't complete properly. Try the install again and make sure it says it completed without error.
  17. That says midnlightlib is still installed or you posted the wrong log.
  18. Tags, don't have that structure. They are an isA relation. They let you do a blockState.is(TagKey) check to see if a block is part of the tag and that's it. You can write your own datapack type with whatever structure you like. See minecraft's PreparableReloadListener and its subclasses, you can register your own using the AddReloadListenerEvent that's how forge's internal mod loads dynamic loot modifiers: https://github.com/MinecraftForge/MinecraftForge/blob/2815e69407fe64523b6f4165a9fd965333634afd/src/main/java/net/minecraftforge/common/ForgeInternalHandler.java#L120 https://github.com/MinecraftForge/MinecraftForge/blob/1.19.x/src/main/java/net/minecraftforge/common/loot/LootModifierManager.java Or you can just use a config file: https://forge.gemwire.uk/wiki/Configs
  19. There is no jar file. Hasn't been for a long time. You use the run.bat or run.sh depending on your operating system. Read that file and the user_jvm_args.txt for more information.
  20. You need java 17 to run the server.
  21. I don't know then. You don't show the new error message without midnightlib installed and you have never posted your logs/debug.log like it says to do in my footer and the forum sticky post, so I don't know which mods you have installed. If it isn't one of the mods mentioned on that bug report I linked above, the only to find the mod will be to experiment with removing mods until the problem goes away. Backup your world(s) before removing mods.
×
×
  • Create New...

Important Information

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