Everything posted by warjort
-
Need help modifying a vanilla item
There is no link?
-
Need help modifying a vanilla item
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.
-
game crashes immediately when launched
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
-
game crashes immediately when launched
There is no error in that log. Post a link to the launcher_log.txt from directly after the crash.
- All the Mods 8 crashing while loading
-
Help!!!1.19.4 How to configure custom buttons
https://github.com/MinecraftForge/MinecraftForge/blob/1.20.x/src/main/java/net/minecraftforge/client/event/RegisterKeyMappingsEvent.java
-
Level.setBlock doesn't work
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.
-
Need help modifying a vanilla item
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.
-
trade ui
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.
-
item on growup
See vanilla Turtle.ageBoundaryReached()
-
Help identifying what mod is causing the crash. 1.16.5 Forge server.
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.
-
Error in runClient.launch
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/
-
Minecraft Modpack Error
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
-
The game crashed whilst initializing game Error: java.lang.RuntimeException: null
Looks like you are missing the a mcwfurnitures mod? Also, please don't post logs in the forum. Post a link the logs/debug.log on a file sharing site.
-
Crash when entering dimension(SOLVED)
NOTE: 1.18.2 is no longer supported in this forum.
- Please, help! I tried going through the crash log but nothing seemed wrong, and yet the game crashes when loading!
- The game crashes when entering the world.
-
When i try to join my server it just crashes and this Error: org.spongepowered.asm.mixin.transformer.throwables.MixinTra
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
-
Dawncraft Modpack Crashing my World and I cant open the world anymore
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
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/
-
I am having a number of errors on my modded server (1.20.1) and could use some assiatnce.
- org.spongepowered.asm.mixin.transformer.throwables.MixinTransformerError: An unexpected critical error was encountered
Check you have the latest version then contact the mod author. NOTE: 1.16 is no longer supported in this forum https://forums.minecraftforge.net/topic/91712-supported-version-directory/- Clean install of 1.20.1-47.1.0 crash with Exception in thread Invalid bare key: ${mod_id}
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.- Help with latest forge 1.19.2
- java.lang.NullPointerException: Initializing game
- org.spongepowered.asm.mixin.transformer.throwables.MixinTransformerError: An unexpected critical error was encountered
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.