warjort
Members-
Posts
5420 -
Joined
-
Last visited
-
Days Won
175
Everything posted by warjort
-
There is no link?
-
https://forums.minecraftforge.net/topic/125952-levelsetblock-doesnt-work/#comment-542689 Preferably on github. Do not post code in the forums (especially incomplete code snippets). e.g. what is "targettedBlock"? It is neither defined in that code nor what you should be using You also do not DENY the item path (although it is probably not relevant in this case?) Personally, I will ignore all your posts if you are one of those people that don't read my answers and force me to keep repeating myself.
-
Looks like Minecraft or Forge is not installed correctly It is missing the "guava" library. The log does mention it as installed here: Maybe that file is corrupted? Since it looks like you are using curseforge, you will need to ask them how to fix it: https://support.curseforge.com/en/support/home
-
There is no error in that log. Post a link to the launcher_log.txt from directly after the crash.
-
1.19.2 All the Mods 8 crashing while loading
warjort replied to InterZad112's topic in Support & Bug Reports
Looks like you have a broken configuration file (for the tempad mod?). The error does not say what the file is called, but it is likely in your config subfolder. If you don't have a backup of a config file, usually you can delete it and the mod will recreate with default values. -
Help!!!1.19.4 How to configure custom buttons
warjort replied to mohuang369's topic in Modder Support
https://github.com/MinecraftForge/MinecraftForge/blob/1.20.x/src/main/java/net/minecraftforge/client/event/RegisterKeyMappingsEvent.java -
Duplicate post: https://forums.minecraftforge.net/topic/125931-need-help-modifying-a-vanilla-item/#comment-542688 As explained there, you should do your processing in Block.use() which passes you the Level. You should never use client classes like the "Minecraft" class in code that can be called on the server. You will crash the game. To make a change to the game state you need to modify the state on the server. Modifying it only on the client will just create a "ghost block" that will vanish the next time threre is a chunk update from the server. If you follow what vanilla does in HoneycombItem.useOn(), it modifies the state on both the client and server which improves responsiveness. Technically only changes on the server are required, provided to you set the Block.UPDATE_CLIENTS mask in the flags passed to setBlock() - or just use Level.setBlockAndUpdate() instead. NOTE: If you don't want your questions to be ignored, you need to provide a simple build that reproduces your problem. Code snippets out of context or English descriptions of your code usually provide little to no information. Most people will not waste their time asking you for more information.
-
You do not put your processing in the RightClickBlock event handler. The purpose of that event is so you can choose which action is performed if the event matches your criteria, either * setUseItem => Item.useOn() - in your example the processing in the HoneycombItem.useOn() * setUseBlock => Block.use() - for you, the processing you define in YourBlock.use() The block is passed to you in the event as a raytrace result: https://github.com/MinecraftForge/MinecraftForge/blob/ab70bde1d648125acee073a93a25d4b8f08985c9/src/main/java/net/minecraftforge/event/entity/player/PlayerInteractEvent.java#L169 Read the rest of the docs of that event for all the details you need to know. As mentioned above, HoneycombItem.useOn() has the vanilla processing for changing the block amongst other things.
-
See the vanilla Villager class. NOTE: This forum is a support forum. We provide help for people that have implemented something and don't understand why it doesn't work as they expect. It is not a mod learning forum. We do not design or write your mod for you. It is also not a place for you to abuse other people as a human search engine. You need to do your own research (including the search function in this forum) before posting lazy questions.
-
See vanilla Turtle.ageBoundaryReached()
-
Help identifying what mod is causing the crash. 1.16.5 Forge server.
warjort replied to DJAWANNI's topic in ForgeGradle
Your error is a network protocol error. It typically does not tell you which mod caused the problem. Those errors are usually caused by * Mods that were never tested by the mod author in multiplayer * Mods for different versions of minecraft Usually the only way to find the problem mod is to experiment with removing mods until the problem goes away. Backup your world before removing mods. Getting this error is also an indication that you are developing your modpack in the wrong way. * Do not just dump a large number of mods in your mods folder and expect it to work, it won't * Add mods in small groups and test it. That way you will know which mods are causing problems, it is one of those you just added. These are the mods that are modifying networking: But it could also be an issue with a mod having a broken custom recipe which won't appear in that list. Finally, Minecraft 1.16 is no longer supported in this forum: https://forums.minecraftforge.net/topic/91712-supported-version-directory/ This is the second time you have been told this. -
If you have issues with a tutorial, you should contact the author of that tutorial. If you want help in this forum, you need to provide a build (preferably on github) that reproduces your problem. Code snippets and random error messages out of context will likely just mean you are ignored. Minecraft 1.16 is no longer supported in this forum https://forums.minecraftforge.net/topic/91712-supported-version-directory/ Try this instead; https://docs.minecraftforge.net/en/latest/gettingstarted/
-
I have underlined the likely mods causing this problem. It could be a conflict between them? Or a conflict with some other mod not mentioned. In future: * Do NOT post logs in the forum * DO post a link to the full logs/debug.log on a file sharing site - read the FAQ
-
NOTE: 1.18.2 is no longer supported in this forum.
-
The game crashes when entering the world.
warjort replied to kinstawer's topic in Support & Bug Reports
Looks like one of your mods is fabric mod instead of the forge version? NOTE: 1.18 is no longer supported in this forum. https://forums.minecraftforge.net/topic/91712-supported-version-directory/ -
Remove all the broken client side only mods you don't want or need on the server, like rubidium, oculus, etc. Also in future: * DO read the FAQ and use search before asking questions that have asked and answered many times before. * Do NOT post logs in the forums * DO post a link on a file sharing site to the full debug.log if you want help
-
Check you have the latest version then contact the mod author. Most likely it is some other mod doing things wrong. But since you didn't read the FAQ at the top of the forum, you don't provide a link to your logs/debug.log so we can see if there is another error before the crash. Do not post logs in the forum.
-
1.12.2 Forge Server Crashing during start up
warjort replied to TrueKing's topic in Support & Bug Reports
Check you have the latest version the contact the mod author. NOTE: 1.12 is no longer supported in this forum. https://forums.minecraftforge.net/topic/91712-supported-version-directory/ -
The MDK requires the mod resources have been processed, i.e. copied into build/resources with any properties replaced. Just running the "build" gradle task should make this happen. Read the FAQ at the top of this forum. Without a log posted to a file sharing site no further help can be provided. "It does not work" is not a bug report or help request.
-
Read the FAQ at the top of the forum.. No debug.log posted to a file sharing site, means no help can be provided.
-
java.lang.NullPointerException: Initializing game
warjort replied to Dreary_76's topic in Support & Bug Reports
NOTE: 1.12 is no longer supported in this forum https://forums.minecraftforge.net/topic/91712-supported-version-directory/