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

whitephoenix

Members
  • Content Count

    29
  • Joined

  • Last visited

Community Reputation

1 Neutral

About whitephoenix

  • Rank
    Tree Puncher

Converted

  • Gender
    Undisclosed
  • Personal Text
    Pick 42. The answer is always 42.
  1. Just the standard gradlew setupDecompWorkspace gradlew idea Then I had some project structure issues, annotations wouldn't work so I moved language level to 8, from there I switched out of Use module compile output path because it was blank then switched back, which filed the path fields and minecraft started succesfully.
  2. It might be my project structure messed up, https://www.dropbox.com/s/9bslssj7qvic67w/Screenshot%202015-08-08%2016.23.21.png?dl=0 Language level is set to 8 on the first tab
  3. https://www.dropbox.com/s/pa13466s7vtesga/Screenshot%202015-08-08%2016.16.06.png?dl=0
  4. Yeah. As far as I can tell everything is where it should be.
  5. I've made a really simple mod and it doesn't seem to load. The game starts fine but the single recipe I add isn't there, and its not in the mods list. My only idea is that somewhere a long the line arguments for @mod other than modid and version became required, but I'm not sure. Using the latest version of 1.7 forge, "forge-1.7.10-10.13.4.1492-1.7.10-src" Mod code is here: http://pastebin.com/2WzEs4GU Console output is here: http://pastebin.com/jQ4TnBAa This is so weird. No other errors or nothing going wrong except my mod not being seen apparently. I used to mod a bit but stopped
  6. Nevermind. I successfully ran setup, but @Mod annotations still error.
  7. I got it now. Thanks. I just decided to install jdk to my c drive, which works fine now.
  8. http://snag.gy/NsLxN.jpg I found it. Gradlew setupDecompWorkspace failed. I've tried fixing the error but it doesn't do anything.
  9. Yeah... no quotes I just started putting quotes around it while typing and remembered the code tag and forgot about quotes...
  10. Yes, "@Mod(modid="LetsMod", name="Lets Mod", version="1.0-1.7.10")" '@Mod is not applicable to type' At @Mod.EventHandler public void preInit(FMLPreInitializationEvent){ } @Mod.EventHandler is also errored.
  11. Only thing I changed recently was JDK version I think, I updated to the latest, does that break @Mod?
  12. I've been messing with this for a while and can't figure it out, I want to store placedBlock from PlaceEvent in a variable (thats what I need help with) and then output to chat.
  13. So I'm struggling to understand events, would I use @SideOnly somehow? How would I make this only happen once?
  14. [spoiler=FirstEventHandler.java] package com.phoenix.firstmod; import net.minecraft.client.Minecraft; import net.minecraftforge.event.world.BlockEvent.PlaceEvent; import cpw.mods.fml.common.eventhandler.SubscribeEvent; public class FirstEventHandler { @SubscribeEvent public void onBlockPlace(PlaceEvent event){ Minecraft.getMinecraft().thePlayer.sendChatMessage("Block Placed"); } } Above is the code from my handler class, I use "FirstEventHandler handler = new FirstEventHandler();" and " MinecraftForge.EVENT_BUS.register(handler); FMLCommonHandler.instance().bus();" in my ma
×
×
  • Create New...

Important Information

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