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. 1.11 is no longer supported due to age. Please update to a modern version to receive support here. More information on supported versions can be found in the LTS link at the top of every page.
  2. Structures are generated using Features. https://gist.github.com/williewillus/353c872bcf1a6ace9921189f6100d09a has a lot of info on stuff that changed from 1.13+
  3. Not 100% sure if it matters (I'm not a json guy really), but I thought for sure it was \n not /n for a newline.
  4. Googling "Unsupported class file major version 57" yields some results, and one comment caught my eye. Are you sure you're using Java 8?
  5. Is the installer generating a log? It would be in the same folder as the installer with the same name, but with .log at the end. If so, you should post it here. How long did you leave it running before you canceled it?
  6. Here's another thread about it with some links for more information, have you checked it out? Found it by searching the forums for "global loot modifiers" https://www.minecraftforge.net/forum/topic/83204-1152-globallootmodifier-not-working/?tab=comments#comment-393325
  7. No problem, and don't think if you get stuck you can't come ask for help, because of course you can! But dig through some vanilla code first, see if you can find examples, also searching the forums often yields great results. I was messing with custom shields for fun, and couldn't figure out why the texture wasn't working, and searching on here led me to the answer without having to make my own topic and ask
  8. Did that fix it? Just curious Also, always check out what the parameters are for methods/constructors you call, never know when one of them is important, and sometimes ones that are, say, true for vanilla, mods might have to call false, so it's worth looking at.
  9. You're not prefixing your item textures with your modid is a likely cause.
  10. Scan vanilla code for something to drops an item. You should try looking a little more in the vanilla code, it's really useful and has lots of stuff to learn from/give ideas, I notice that you ask a lot of things without trying/looking first. You'd be surprised what you can accomplish if you check out existing code that does things similar to what you want I did a quick search in my IDE for something that calls ItemEntity and the LecternBlock popped up.
  11. If you look at the LightningBoltEntity code, there's a lot of stuff that doesn't happen if effectOnly is true. I've never tried doing this myself, or messed with lightning, but that's the first thing I noticed when I looked at the vanilla code.
  12. Ok, that's good, since your downloads folder is right there. cd Downloads typing the above command will move you into the downloads folder, it should change the prompt to say C:\Users\cooks\Downloads> Then you can try typing the java -jar forge<TAB> again.
  13. Get what, the log? It will be in the logs folder of either the minecraft game directory, or if you're running from the IDE, it will be in the run folder in your project folder.
  14. Post the new crashlog, or if it is the same, then you didn't actually recompile with java 8
  15. 1.12 is no longer supported on these forums due to age. Please update to a modern version to receive support here. More information on supported versions can be found in the LTS link at the top of every page.
  16. So your problem is the JRE on your system defaulting to Java 11, forge doesn't choose it I'd say either completely remove Java 11, or specify the full path to Java 8 when starting the server.
  17. No problem, hopefully this dishonest server admin didn't fool you into giving away any information! I would report them to their server host, and stop playing on that server for sure.
  18. Use java 8, higher versions aren't supported yet, I believe someone said it's due to a library forge uses still targeting Java 8.
  19. Create a Model (and texture for it) that extends BipedModel<T extends LivingEntity> for your armor piece. Override getArmorModel and getArmorTexture in your armor item class. Once you've started, if you have issues, come back here and make sure you post code, logs, what you are trying to achieve (looks/effect/etc), and what is actually happening.
  20. I set up a project today for 1.15.2, but it should be the same way: .\gradlew eclipse .\gradlew genEclipseRuns then imported into eclipse workspace as existing project (not the existing gradle project). When I run .\gradlew tasks the list includes:
  21. args.getEntityLiving().getHeldItemOffhand() where args is the LivingAttackEvent
  22. I believe forge requires at least 4gb and a 64bit JDK
  23. That's what I came up with, I was just looking into it myself earlier today for S&Gs, not for any real reason. In the event you can check for a shield, and probably check for if it's being raised (haven't tried that myself at all) and then do what you want.
  24. You need to run the eclipse and genEclipseRun gradle tasks
  25. Where did you save forge installer jar? You have to CD into that folder.

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.