warjort
Members-
Posts
5420 -
Joined
-
Last visited
-
Days Won
175
Everything posted by warjort
-
Forge server starts but crashes as soon as a player joins
warjort replied to Jarryd Docking's topic in Support & Bug Reports
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. -
Can I hook into the chat window / edit box?
warjort replied to alterNERDtive's topic in Modder Support
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. -
How to simulate mining in a Client-Side mod 1.16.5 Forge?
warjort replied to Intrigger's topic in Modder Support
Neither bots/cheats or 1.16.5 are supported in this forum. -
Error: java.lang.IllegalStateException: Errors during registry
warjort replied to kalvins's topic in Support & Bug Reports
Check you have the latest version then contact the mod author. -
DawnCraft Keeps crashing when I join a server
warjort replied to vitorferah's topic in Support & Bug Reports
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. -
DawnCraft Keeps crashing when I join a server
warjort replied to vitorferah's topic in Support & Bug Reports
Post a link to your logs/debug.log That crash report is just showing a crash while trying to produce the crash report. 🙂 -
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.
-
Legendary tool tips is a broken client side only mod you don't need on the server.
- 1 reply
-
- 1
-
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.
-
Need help with mods-crashes instantly (error code 1)
warjort replied to sp4zzy's topic in Support & Bug Reports
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. -
The game crashed whilst rendering overlay
warjort replied to Almightyshrek's topic in Support & Bug Reports
Check you have the latest version then contact the mod author. -
Game crash on startup: initializing game, exit code: -1
warjort replied to vinnyg0621's topic in Support & Bug Reports
Something is not registered properly for the CoffeeDelight mod. Check you have the latest version then contact the mod author. -
Duplicate post.
-
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.
-
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
-
forge-1.18.2-40.2.1 server does not install for complete
warjort replied to LucasMenezes's topic in Support & Bug Reports
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. -
forge-1.18.2-40.2.1 server does not install for complete
warjort replied to LucasMenezes's topic in Support & Bug Reports
You need java 17 to run the server. -
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.