Jump to content

warjort

Members
  • Posts

    5420
  • Joined

  • Last visited

  • Days Won

    175

Everything posted by warjort

  1. There is no link?
  2. 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.
  3. 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
  4. There is no error in that log. Post a link to the launcher_log.txt from directly after the crash.
  5. 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.
  6. https://github.com/MinecraftForge/MinecraftForge/blob/1.20.x/src/main/java/net/minecraftforge/client/event/RegisterKeyMappingsEvent.java
  7. 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.
  8. 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.
  9. warjort

    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.
  10. See vanilla Turtle.ageBoundaryReached()
  11. 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.
  12. 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/
  13. 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
  14. 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.
  15. NOTE: 1.18.2 is no longer supported in this forum.
  16. When I said post it to a file sharing site, I meant a recognisble/reputable one. Nobody is going to click on a link like that when we have to no idea where it points to.
  17. 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/
  18. 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
  19. 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.
  20. 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/
  21. 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/
  22. 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.
  23. Read the FAQ at the top of the forum.. No debug.log posted to a file sharing site, means no help can be provided.
  24. NOTE: 1.12 is no longer supported in this forum https://forums.minecraftforge.net/topic/91712-supported-version-directory/
×
×
  • Create New...

Important Information

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