Jump to content

BeastModeGamez

Members
  • Posts

    3
  • Joined

  • Last visited

BeastModeGamez's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. I would really like to make cosmetic mods like the ones powns has created, but I find 1.8.9 impossible to make commands for. So I have moved to 1.12.2, so my question is, where do I start? All posts requiring video tutorials or websites for making cosmetic mods for 1.12.2 are greatly appreciated.
  2. Try looking at this link https://stackoverflow.com/questions/22739920/where-to-start-with-creating-minecraft-client-mods Hope this helped!!
  3. I was following Powns' tutorial https://www.youtube.com/watch?v=keDj9fvzigk on how to make mods in Minecraft 1.8.9 Forge. I did the exact same thing as him but when I ran it, it did not work. This has lead me to believe that it has to do with my JDK version. Except, he does not say which one he uses, what version should I use? I have tried using the newest version and it does not work, I'm using 8u5 currently. My code for the counter is package me.BeastModeGamez.arrowCounter; import net.minecraft.init.Blocks; import net.minecraftforge.fml.common.Mod; import net.minecraftforge.fml.common.Mod.EventHandler; import net.minecraftforge.fml.common.event.FMLInitializationEvent; @Mod(modid = ArrowCounter.MODID, version = ArrowCounter.VERSION) public class ArrowCounter { public static final String MODID = "arrowCounter"; public static final String VERSION = "1.0"; @EventHandler public void init(FMLInitializationEvent event) { } } My code for the counterCommands is package me.BeastModeGamez.arrowCounter.commands; import net.minecraft.command.CommandBase; import net.minecraft.command.CommandException; import net.minecraft.command.ICommandSender; import net.minecraft.util.ChatComponentText; public class arrowCounterCommands extends CommandBase { @Override public String getCommandName() { return "arrowcounter"; } @Override public String getCommandUsage(ICommandSender sender) { return "/" + getCommandName(); } @Override public void processCommand(ICommandSender sender, String[] args) throws CommandException { sender.addChatMessage(new ChatComponentText("Test Command.")); } @Override public int getRequiredPermissionLevel() { return 0; } @Override public boolean canCommandSenderUseCommand(final ICommandSender p_71519_1_) { return true; } } I hope to see the mod work, but instead it says unknown command. Something that I believe to be important are two warnings saying: and also Also, in case you are wondering if the code won't work anymore, the video was made 3 weeks ago. So, in conclusion, my question is: what is needed to fix this, and does it have to do with the JRE as it says in the warnings, or is my code incorrect, or do I need a newer JDK? And if I do have to change the JRE, how? Edit: I have fixed both errors and it is still not working... Which means it most likely doesn't have to do with software and my code is wrong... but whats wrong?
×
×
  • Create New...

Important Information

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