Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Ugdhar

Moderators
  • Joined

  • Last visited

Everything posted by Ugdhar

  1. That github link doesn't work, you have no public repositories.
  2. That log looks like it ends prematurely *edit: also, are you sure that this code is only running on the client? Minecraft is a client-only class I do believe. I would set breakpoints and walk through the code to see what is happening.
  3. For Eclipse: Make a github accout. Create an empty repository on github for your mod. It will give you the address to use as the remote. In Eclipse, right-click on your project, select Team, choose Share Project. on the Share Project screen, check Use or create repository in parent folder of project Click Create Repository Click Finish Right click your project again, choose Team, then Commit. It will open the Git Staging window at the bottom. add all the files with the green ++ button, which moves them to the bottom window. Click Commit and Push. In this screen, fill in the URI with the address for your repo from github. You can either fill in the username/pw info and save it, or make it prompt you every time, up to you. After this, you should see your project on github. When you edit/change files, use the git staging window to Commit your changes, and Push when you want to send it to github (you don't have to push every time you change, just when you want to publish it). Do some reading up on git, it's really useful. Branches are great.
  4. I am betting you scrolled down, and are looking at the 1.5.2 version I've been seeing a lot of people mistaking 1.5.2 with 1.15.2 lately.
  5. Looks like you have optifine for 1.14 in there. Make sure if you go looking for a 1.15 version that you read the changelog, it will tell you what version of forge to use, IF it is compatible with forge.
  6. So, first, screenshots are a terrible way to share anything, except for your package layout. It also looks like you are using an unsupported version. What version are you modding for? See the LTS link at the top of every page for information on supported versions.
  7. I don't think so, debug.log from my experience always starts like this: It should be in %APPDATA%\.minecraft\logs if you are on Windows
  8. I'm pretty sure JAVA_HOME is a JDK env variable, and not used by the JRE. It is likely searching your path for the path to the JRE, or I've also seen a program that sets the default java if multiple are on the system, but as I only use 8, I don't have details on it. *edit: I would say I must be wrong, did a quick google and this was right at the top, from an Oracle website:
  9. Post you debug.log please, it should give details on what is going on
  10. Please post a log using Java 8, since we know it won't work with 14.
  11. Try using Java 8, higher versions are not supported at this time.
  12. 1.12 is no longer supported due to age. Please update to a modern version (1.14.4/1.15.2) to receive support. More information on supported versions can be found in the LTS link at the top of every page.
  13. I know that seems logical, but honestly modified logs are a bad idea, you don't know if you accidentally deleted something that was actually needed information. *edit anyway, I don't see anything there, so I'm standing by my original thought that you should set some breakpoints and debug your packet code to make sure all the data is what you expect it to be and not null or something.
  14. That is not even close to the same as the log the OP posted. You should make your own thread and post your log there.
  15. What exactly did you try? Did you @Override the method? Post code and logs please, it helps to see the big picture! Did you look at farmland? And probably also at crop/bush blocks to make sure the logic is not in there.
  16. I would try setting breakpoints and making sure all of the data in your packet code is valid. Also, you should post debug.log, it has much more information than a crashlog
  17. I have not found any site that breaks things down for you, here and there you might find mention of class X Y or Z that is fun/useful, tutorials here and there (which MOST of them alllll cover the same stuff, and then most of those are pretty terrible, especially the majority of the video ones) A lot of the forge stuff is documented/commented, but from what I've seen a vast majority of the vanilla code is not. Some of it is easy to understand, some of it feels like a spaghetti mess rabbit hole. Best things to do: - dig in and just read the code for stuff you're interested in - google, google, google! And forums search on here - Post questions when you can't find what you are looking for. This is the trickiest one probably, because you have to pose your question correctly, and sometimes you don't know you're asking the wrong question. Use as much detail as possible to get the best answer you can. I'm not really making a mod, but I love to tinker, so I spend a lot of time messing with concepts as opposed to finish products, which sounds similar to your original question. Bad news is, you can't be lazy on this one, you have to actively mess with stuff/read code/etc, because most people on here are doing their own things, and while we enjoy helping, most appreciate when people at least try to find their own answers
  18. Did you download/install a 1.15.2 version of forge? Did you create a new Installation in the launcher for it? Same or different game directory? What does it say at the bottom of the launcher to the left of the Play button?
  19. Also, post logs. (for the reason below) I created some json recipe files from the commandline using echo, and for some reason it put an invisible character in the very beginning of my file, even though everything looked right, they didn't work, and there were errors in the log. Creating a new file and then pasting the json in fixed it. Of course, this can all be avoided by using data generators (which I haven't looked at yet lol)
  20. Also, a little bit of description with links to some test code on the minecraftforge github: https://dragoness-e.dreamwidth.org/136561.html
  21. I use Eclipse, and the debug function and breakpoints work just fine!
  22. McJty has an example of a simple chunk provider: https://wiki.mcjty.eu/modding/index.php?title=Tut14_Ep12 You could also look at the vanilla chunk generator that generates the flat world.
  23. You may need to use RenderTypeLookup.setRenderLayer on your blocks in FMLClientSetupEvent, i.e. RenderTypeLookup.setRenderLayer(NEWBLOCKS.FIREFLOWER.get(), RenderType.getCutout()); I believe this needs to be done using a DeferredWorkQueue *edit: I guess I should have asked what version, this is how I fixed a similar issue in 1.15.2.
  24. Try the latest see if that works better
  25. What version of the forge MDK did you download?

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.