Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Leaderboard

Popular Content

Showing content with the highest reputation since 08/23/21 in Posts

  1. Very much not recommended. This has a high risk of breaking your game. Do this at your own risk.
    1 point
  2. Probably at some point? But we do not know.
    1 point
  3. Because the event fires on Mod bus not Forge.
    1 point
  4. I don't think it's possible at the moment.
    1 point
  5. Make only one of the halves have a TileEntity (check in hasTileEntity and createTileEntity) and then always look at that one.
    1 point
  6. As stated in our last stream. There are mechanics in place to protect us from the 'hit by a bus' syndrom. We don't have just one or two people working on things. I've been working as best I can to make everything in our process open source and teach everyone who is competant how to do what I do. On top of that, no I don't have any intention of stopping. So it's not something i'm too worried about.
    1 point
  7. It seems you didn't install a required mod for "tomeofblood". The mod is not declaring its dependencies correctly, so the game crashes instead of showing an informative error screen. Report this bug to the mod author and refer to the installation instructinos.
    1 point
  8. https://mcforge.readthedocs.io/en/latest/ https://forge.gemwire.uk/
    1 point
  9. 1 point
  10. Note that ClientTickEvent fires twice every tick. @EventBusSubscriber registers the Class to the event bus, as such it only works for static methods.
    1 point
  11. If you go browse some mods on curseforge, some of them will have links back to their source. The link is usually in the row of links right above the main area of the mod description.
    1 point
  12. take a look at this tutorial, it has a up to date git repo
    1 point
  13. A zip file somewhere in the gradle cache is broken. The easiest fix I know for this is to delete .gradle/caches/forge_gradle in your user home. Note that this will require you to re-import any Minecraft gradle projects. This can happen if you abort one of the ForgeGradle tasks. I recommend not doing that.
    1 point
  14. Delete this file if you didn't modify it. No.
    1 point
  15. You just have to ensure that the DeferredRegister#register calls run before the registration events fire. The easiest way to do this is to make sure you put them both in the same class, because then there is no way to have the DeferredRegister instance without its entries. Your way works, but it's an ugly hack. You are calling an empty register method just to make the class' static init run. This is completely non-obvious code and you better not forget that register method ever (or forget to call it).
    1 point
  16. The second argument of withExistingParent is the path to a model file to use as a parent, not a texture. For basic block items, the model normally uses the block model as the parent, rather than specifying individual textures. I use this helper method in my BlockStateProvider implementation to generate block item models that simply extend the block model. You can see an example of this here. On a side note, the DeferredRegister instance should always be created in the same class as it's used in; don't put the DeferredRegister and RegistryObject fields in separate classes.
    1 point
  17. 1 point
  18. Then why is there ENGContainers.CONTAINERS.register there? You should always use NetworkHooks.openGui. The difference is that NetworkHooks lets you send additional data, which is received by your IContainerFactory in form of the PacketBuffer. If you use PlayerEntity#openMenu the default, which passes null, is used instead.
    1 point
  19. Post the output of where java as well as java -version and echo %PATH%
    1 point
  20. I have a problem. I have a Minecraft Forge 1.12.2 server. Wehn i start the start.bat file, the server starts but, the mods dont load(i cant place or use the items) but i can have them in my inventory. But no one else sees them in my hands. Can anyone help? Server files: https://drive.google.com/drive/folders/1w1iyu1uZX-dTJIExK30PGZoscL99ImMI?usp=sharing Logs: https://drive.google.com/file/d/1G-NP7YjdNmWSza_We2CsOWrOLf4j4l1K/view?usp=sharing
    1 point
  21. I'm Sure Denis would agree. I spend a lot of time just running up against walls trying to play Minecraft. Some times I'll spend hours just working on my server and never actually get to play the game.
    1 point
  22. Thank you but I know there is an answer to the issue. I would prefer not to update because I am using a mod that is also no longer active. I don't intend to make my server public but I want to play the game via private server. I understand 1.12 is no longer supported but if you could just point us to info we need to correct this that would make a lot of people very happy not just the two of us..
    1 point
  23. Same issue and I have yet to find an answer or any help
    1 point
  24. I already explained to him in another thread, and he no longer has errors, it seems that they failed to tell him what information to put in "pickaxe.json" ... hahaha
    1 point
  25. Since 1.17 Forge (like vanilla Minecraft) requires Java 16. As part of a change in Java we had to also change how the servers are launched. Use the .sh (Linux, Mac) or .bat (Windows) scripts generated by the installer.
    1 point
  26. 1.7 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support.
    1 point
  27. https://mcforge.readthedocs.io/en/latest/gettingstarted/#getting-started-with-forge
    1 point
  28. MobPlusPlus is crashing, report to the author.
    1 point
  29. User was banned for piracy. Buy the game.
    1 point
  30. Do not create a new LazyOptional every time, store it in a field like you did before.
    1 point
  31. You should have the instance of the capability as a normal field if you need it, yes. And then the LazyOptional, which you always need.
    1 point
  32. Windows 7 is no longer a secure operating system as it no longer receives security updates. You should seriously consider updating or not connecting it to the internet. Some zip managers like to take control of the .jar file extension away from Java. Make sure you have Java installed and try running Jarfix once, then try the installer again.
    1 point
  33. You can register your own handler for it: ModLoadingContext.get().registerExtensionPoint( ConfigGuiHandler.ConfigGuiFactory.class, new ConfigGuiFactory((mc, modScreen) -> { return new YourScreen(...); }) );
    1 point
  34. https://mcforge.readthedocs.io/en/latest/datastorage/capabilities/ https://forge.gemwire.uk/wiki/Capabilities https://forge.gemwire.uk/wiki/Capabilities/Attaching
    1 point
  35. 1 point
  36. you should put images into the assets folder of your mod https://mcforge.readthedocs.io/en/latest/conventions/locations/
    1 point
  37. Whatever "MmmMmmMmmMmm-1.16.5-1.2.0.jar" is, it's crashing.
    1 point
  38. 1.12 is no longer supported on this forum. Please update to a modern version of Minecraft to receive support.
    1 point
  39. Not a problem, really the main thing people take offense to around here is not knowing basic Java (syntax, classes, inheritance, scope, etc), and not showing code/logs, especially after being asked. Besides that, I don't think people mind repeated requests for help. It also helps if you try something(s), so you show motivation, and also have some code to share. "I'm trying to do this, here's what I tried, here's what it does/doesn't do that I don't expect" will get way more help than "How do I do this?" with no attempt at all.
    1 point
  40. Just to be clear you've disabled every antivirus you have while running the installer, correct?
    1 point
  41. I'll keep it short. I have a very specific idea of what I want to do, and I have several possible approaches outlined in how to implement it. However, I am being completely stymied by not being able to find any actual library documentation. How is someone new to Forge/Minecraft supposed to find the classes and functions that need to be extended or overloaded in the first place? I know the information has to be around somewhere but I can't find it. (Disclaimer: I'm an experienced amateur programmer/game dev but have basically no Java-specific experience, and this is my first serious look at making my own mod.)
    1 point
  42. first of all do you know basic java? this is the doc of forge: https://mcforge.readthedocs.io/en/latest/ and this is the forge community wiki: https://forge.gemwire.uk/wiki/Main_Page read the docs, after that ask the remaining questions
    1 point
  43. It probably won't be supported for 1.16 or below ever. You should stick with a Java LTS version such as 8 or 11. It will be supported with Minecraft 1.17, since Mojang has switched from Java 8 to 16.
    1 point
  44. I'll come straight to the point. Forge 1.12.2 - 14.23.5.2855. IntelliJ IDEA. Windows 10. Laptop. My problem is the following one. """ [Client thread/ERROR] [FML]: There was a problem reading the entry module-info.class in the jar C:\Users\Liplum\.gradle\caches\modules-2\files-2.1\org.ow2.asm\asm-analysis\6.2\c7d9a90d221cbb977848d2c777eb3aa7637e89df\asm-analysis-6.2.jar - probably a corrupt zip net.minecraftforge.fml.common.LoaderException: java.lang.IllegalArgumentException """ My TWO FRIENDS who use IDEA and forge 1.12.2 on the laptop AND I ALL meet it. When your Minecraft loads at 1/7 (Loading - Consturcting Mods) and 3/5(Consturction - Forge Mod Loader) , it will crash and leave a lot of error outputs but that one is the most special identifier. I don't know why and then search for it on google. And I've got two identical posts and translated them by google. French one:https://www.minecraftforgefrance.fr/topic/6416/erreur-de-lecture-de-class-dans-les-sources-de-minecraft Chinese one:https://v2mcdev.com/posts/715.html They all had the same problem in their programming on IDEA with Forge 1.12.2.
    1 point
  45. 1 point
  46. Definitely late to the party, but I've spent the past couple days working on learning how to use capabilities too. I finally got a pretty basic capability working, so I hope this helps. Like said earlier, casting from LazyOptional doesn't work. After some digging, it turns out you can still access your functions by using a lambda expression. First post here, so I can't figure out how to format my code into something readable here, so here's the link to my repository. https://github.com/lolzorrior/SupernaturalMod-1.15.2/blob/master/src/main/java/com/lolzorrior/supernaturalmod/ForgeEventSubscriber.java Take a look at the onPlayerLogsIn function. Essentially, you use the LazyOptionals ifPresent function and then use a lambda function from there. Feel free to take a look at my PowerProvider.class to see how I handled the NBT functions.
    1 point
  47. For anyone who comes across this in the future, running with `--no-daemon` seems to solve it https://github.com/MinecraftForge/ForgeGradle/issues/563
    1 point
  48. There is an installer for 1.6.x versions and above of Forge. USE IT, it will solve 80% of all your problems. Do not use the universal install. Failure to comply with the rules in this EAQ means your thread will be locked. DO NOT ask for help with any version besides the latest MC version. If you are using a modpack, please ask your modpack maker (FTB/Technic/whatever) No two problems are alike. DO NOT post in an existing thread if you have the same problem, make a new one. Support for legacy versions of MC and Forge will not be offered. Instructions in this thread is all you'll get, if not you're on your own. Support for "cracked" / "pirated" launchers will not be offered and you will be banned. Buy the game. Support with mods that edit base files ("drag this into the minecraft jar") will not be offered. Things to do before you post: THIS IS A SUPPORT FORUM FOR FML/FORGE, AND ONLY FML/FORGE. Go to a mod specific forum (whether on this site or another) to ask for help with a certain mod. If you are using MCPC+/Cauldron or any other Bukkit-API server software, do not post here, post in their forums. For help with Sponge, go here. DO NOT ASK FOR HELP WITH FORGE MULTIPART, IT IS NOT A COMPONENT OF FORGE. Go here for FMP help. This is a support forum for players, not for modders needing help with code. Modders go to the Modder Support forum. Search for your issue (the first line of the stack trace is a good start). Do not reply to threads you think are related to your issue. If you think you have found a bug, please retry with the latest forge build available from http://files.minecraftforge.net before posting here. Read the "Common Problems and Solutions" section below. If you need help writing a bug report/support request, go here: http://vazkii.us/br101/ Make sure you have not installed either ModLoader or MCPatcher (use Optifine instead). If the top line of your error log does not contain net.minecraftforge.whatever or cpw.mods.fml.something, the reason is most likely not Forge, it's an issue with the mod you're using. Make sure you have read the installation instructions for the mods you use. Mods often require certain other mods to function or require a specific version of Forge. Below is a list of things which you MUST include in your post. Be sure to include the entire logs/debug.log (logs/fml-{client/server}-latest.log for versions before 2629) found in your .minecraft folder / server root folder. Not including the log in no way helps us to help you and has a small chance of getting you banned. State what research you have already done (You should have done some, this forum is only for well-researched bugs!). Use the spoilers to enclose stack traces and other long information: Do not attach your logs to your post or use file-uploading services like Dropbox. Use Pastebin or Github Gists. In general give as much information as you can. "It does not work", "I get a black Screen", etc. in no way helps us to help you and will only cause you to get in trouble.
    1 point
×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.