-
Posts
588 -
Joined
-
Last visited
Everything posted by shadowfacts
-
It's possible for some libraries, but not for CTM as it has its own @Mod class.
-
How do I make my mod visible to the Internet?
shadowfacts replied to TheRPGAdventurer's topic in Modder Support
You go to minecraft.curseforge.com, create an account, create your project, and then upload the built mod jar.- 1 reply
-
- 2
-
Show where you registered your event handler.
-
[1.11.2] @Config creates and loads file, but doesn't create GUI
shadowfacts replied to Jay Avery's topic in Modder Support
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. -
[1.12] Minecraft creating and registering items and blocks
shadowfacts replied to Chuckinator's topic in Modder Support
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? -
That doesn't work for Forge mods, you need to run the gradlew build command.
-
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.
-
In your @SidedProxy annotation, you've specified a fully qualified name for the client proxy that's different than the actual class name.
-
1) Wrong section, this should be under Support & Bug Reports. 2) 1.7.10 is no longer supported here.
-
[1.12] "Converting" mod to be multiplayer-compatible?
shadowfacts replied to jonesto95's topic in Modder Support
What client-only methods are you using? How to fix it will depend on which ones you're using. -
Don't necro threads, this one is more than a year old.
-
Bytecode version 52.0 corresponds to Java 8.
-
[1.12] Crafting Recipe class question
shadowfacts replied to SirBassington's topic in Modder Support
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. -
Forge/ForgeGradle doesn't include JEI...
-
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.
-
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, so every object would be registered twice. As for how to fix it, learn Java.
-
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.
-
It's been known for over a year and isn't going to be fixed, you still have to use the first update tick.
-
[1.8] Adding a Vanilla Texture to a Modded Block
shadowfacts replied to bumpernickl's topic in Modder Support
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. -
Removing final on classes (Access Transformers)
shadowfacts replied to HashtagShell's topic in Modder Support
Why on earth do you even want to extend ItemStack? -
[1.11.2] Keybinds not Registering properly
shadowfacts replied to 2veryicey's topic in Modder Support
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 everyone on here is perfectly helpful, you're just not listening to us. -
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.
-
Why are you trying to decompile it? Embers is open source.
-
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.