whitephoenix
Members-
Posts
29 -
Joined
-
Last visited
Converted
-
Gender
Undisclosed
-
Personal Text
Pick 42. The answer is always 42.
whitephoenix's Achievements
Tree Puncher (2/8)
1
Reputation
-
For some reason my mod is not starting
whitephoenix replied to whitephoenix's topic in Modder Support
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. -
For some reason my mod is not starting
whitephoenix replied to whitephoenix's topic in Modder Support
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 -
For some reason my mod is not starting
whitephoenix replied to whitephoenix's topic in Modder Support
https://www.dropbox.com/s/pa13466s7vtesga/Screenshot%202015-08-08%2016.16.06.png?dl=0 -
For some reason my mod is not starting
whitephoenix replied to whitephoenix's topic in Modder Support
Yeah. As far as I can tell everything is where it should be. -
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 for a while, now I'm trying it again.
-
@Mod annotation suddenly doesn't work
whitephoenix replied to whitephoenix's topic in Modder Support
Nevermind. I successfully ran setup, but @Mod annotations still error. -
@Mod annotation suddenly doesn't work
whitephoenix replied to whitephoenix's topic in Modder Support
I got it now. Thanks. I just decided to install jdk to my c drive, which works fine now. -
@Mod annotation suddenly doesn't work
whitephoenix replied to whitephoenix's topic in Modder Support
http://snag.gy/NsLxN.jpg I found it. Gradlew setupDecompWorkspace failed. I've tried fixing the error but it doesn't do anything. -
@Mod annotation suddenly doesn't work
whitephoenix replied to whitephoenix's topic in Modder Support
Nope -
@Mod annotation suddenly doesn't work
whitephoenix replied to whitephoenix's topic in Modder Support
Yeah... no quotes I just started putting quotes around it while typing and remembered the code tag and forgot about quotes... -
@Mod annotation suddenly doesn't work
whitephoenix replied to whitephoenix's topic in Modder Support
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. -
Only thing I changed recently was JDK version I think, I updated to the latest, does that break @Mod?
-
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.
-
So I'm struggling to understand events, would I use @SideOnly somehow? How would I make this only happen once?
-
[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 main class. My issue is that in game when I place a block, the event fires twice and sends two chat messages. Chat messages are not my final intended function, but just to make sure I'm not messing this up, which I evidently am.