Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 10/14/17 in all areas

  1. You can set up Eclipse to help you with the formatting too. The Forge style formatting is here: https://github.com/ForgeEssentials/ForgeEssentials/blob/develop/misc/eclipseformatter.xml You can take that file and in the setting for Java | Code Style | Formatter you can add it as an option.
    1 point
  2. No effect on code. It's purely visual. Some people prefer the second way because it's more compact. I prefer the first way because it's more clear to me where code blocks begin and end. It's totally up to personal preference.
    1 point
  3. Thank you for the help! Appreciate it
    1 point
  4. I mean like 1.7.10, 1.6.4 , 1.12 , 1.9 . I would get one of those versions of minecraft and then base all my mods i get off of that version. So I get 1.12 and then industrial craft 2 for 1.12
    1 point
  5. You mean code a modpack? Or combine different compatible mods to make a modpack? Please be specific. Thanks!
    1 point
  6. 1) This forum is for developers to get help developing a mod. You want General Discussion. 2) 1.7.10 is no longer supported here anyway.
    1 point
  7. It depends on what you're trying to do. I think there is a player capability called isFlying which is synced with the packet CPacketPlayerAbilities. So as mentioned maybe you can handle the player tick event and check the isFlying capability. Of course that would be any type of flying, so maybe there are cases that won't work for you. But if you catch isFlying in the first tick it is happening, that might be good for what you're trying to do.
    1 point
  8. I used techne to make the models. I didn't have much luck all together. The texture tiling was the first part, but you can only bind one texture to a model at a time. I wanted to just tile the bottom texture and then have a static generic overlay on top. Didn't see a way to do what with a entity model.
    1 point
  9. Pretty sure you can detect any key press using KeyInputEvent. See: http://jabelarminecraft.blogspot.com/p/minecraft-forge-1721710-keybinding.html. So you might be able to detect when the player uses space bar to fly. You can also use LivingUpdateEvent or PlayerTickEvent to see if the player is currently flying.
    1 point
  10. Entity entity = event.getEntity(); World world = event.getEntity().getEntityWorld(); "Eh, just fuck that reference we made. Call that method again! "
    1 point
  11. This forum is generally for stuff that has to do with Minecraft or FTB, but NOT particularly to do with Forge. Please keep all discussions to the appropriate forums (Let's Plays/Streams, Texture Packs, Creations, Servers), however there's three things that I have to enforce. 1. ONE thread per discussion. Seriously. 2. Don't necro (bump) dead threads which haven't been posted in for more than 3 months. If you have something to contribute to the discussion, feel free to make another thread. (only exemption to rule 1) 3. If you post here for support with Forge, you will be ignored. Post in the support forum. 4. This is NOT a theatre, any purveyors of drama will be automatically drop-kicked-banned. NO EXCEPTIONS.
    1 point
×
×
  • Create New...

Important Information

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