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

shadowfacts

Forge Modder
  • Content Count

    588
  • Joined

  • Last visited

Everything posted by shadowfacts

  1. It's possible for some libraries, but not for CTM as it has its own @Mod class.
  2. You go to minecraft.curseforge.com, create an account, create your project, and then upload the built mod jar.
  3. Show where you registered your event handler.
  4. Forge doesn't automatically create a config GUI for you. In your @Mod annotation, you need to provide a value for the guiFactory property. It should be the fully-qualified name of a class that implements IModGuiFactory. In your GUI factory, you'll need to make sure that hasConfigGui returns true and that you've implemented createConfigGui. This is my GUIConfig class which is a small wrapper around FML's GuiConfig class that makes it a bit easier to use.
  5. You need to be connected to the internet for Gradle to download dependencies. Are you sure you're computer's connected to the internet when you run the Gradle task and is there any program (e.g. anti-virus) that could be blocking the connection?
  6. That doesn't work for Forge mods, you need to run the gradlew build command.
  7. You can have ModelRegistryEvent handlers on the server side, because the ModelRegistryEvent class does exist on the server but won't be fired there and nothing else in the method signature uses client only classes, however, it's best practice to keep your client-side code entirely separated from common code so it's harder to accidentally introduce client sided-ness bugs.
  8. In your @SidedProxy annotation, you've specified a fully qualified name for the client proxy that's different than the actual class name.
  9. 1) Wrong section, this should be under Support & Bug Reports. 2) 1.7.10 is no longer supported here.
  10. What client-only methods are you using? How to fix it will depend on which ones you're using.
  11. Don't necro threads, this one is more than a year old.
  12. Bytecode version 52.0 corresponds to Java 8.
  13. Yes... It's your code, you can do whatever you want with it... If the class isn't doing anything, then by all means remove it.
  14. Forge/ForgeGradle doesn't include JEI...
  15. You can't be using 64-bit Java if you have a 32-bit operating system and you can't have 7GB of RAM remaining if you have 2GB of memory. One of those was definitely wrong. Post all of the correct details.
  16. Go learn Java. If you had the most basic Java knowledge (or any programming language for that matter), your mistake would be painfully obvious. In your registerBlock method, you call GameRegistry.register for 1) your town center block 2) your town center item 3) your house block 4) your house item. So in this method, you're registering all four objects. In your register method, you call the reigsterBlock method twice, once with the argument townCentre and the other time with the argument house. This would result in each of the GameRegistry.register calls occurring twice
  17. If you post your code (as diesieben has said 3 times now), we'd be able to tell you. Without that information, we can't say for sure.
  18. It's been known for over a year and isn't going to be fixed, you still have to use the first update tick.
  19. You can just use them directly from your JSON files. If you wanted to use the Iron Block texture, you would use minecraft:blocks/iron_block for the correct texture in your model or blockstate.
  20. If you already understand Java (and it's painfully obvious that you don't), you would know exactly what you need to replace null with. This forum is for help with Minecraft and Forge, what you are asking for help with is Java, which is neither of the above. So before you keep whining about how nobody will help you, realize that you're in the wrong place. As is stated on this forum all the time, this is not a forum for teaching Java because you should already have a reasonable understanding of Java before you start trying to make mods. You'll find that everyo
  21. Why are you still trying to download it? It's published on GitHub, including the 1.10.2 version of the source code. GitHub allows you to download the contents of the repository from a specific commit. You'll want the one from right before the 1.11 upgrade. Here's a link.
  22. Why are you trying to decompile it? Embers is open source.
  23. No. It's a command, not an event handler, and furthermore, it's a client-side command. You need to register it with the ClientCommandHandler instance in your pre-init event. You should really learn Java before trying to mod, it will make your life a lot easier. Right now you're making a lot of mistakes that you wouldn't be if you had a basic knowledge of Java.
×
×
  • Create New...

Important Information

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