Everything posted by shadowfacts
-
[1.12.1] How to integrate other mods
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?
You go to minecraft.curseforge.com, create an account, create your project, and then upload the built mod jar.
-
[1.7.10, *1614] Ores doesn't generate in the Nether and the End
1.7.10 is no longer supported.
-
[1.8.9] Cancelling Chat Event
Show where you registered your event handler.
-
[1.11.2] @Config creates and loads file, but doesn't create GUI
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
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?
-
[1.11.2] Crash with exported mod
That doesn't work for Forge mods, you need to run the gradlew build command.
-
Not Understanding How to Register Items
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.
-
Crash
In your @SidedProxy annotation, you've specified a fully qualified name for the client proxy that's different than the actual class name.
-
[crash]
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?
What client-only methods are you using? How to fix it will depend on which ones you're using.
-
[1.8.9]Mouse not showing up in gui
Don't necro threads, this one is more than a year old.
-
[1.12] Gradle major/minor version
Bytecode version 52.0 corresponds to Java 8.
-
[1.12] Crafting Recipe class question
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.
-
[1.10.2] Override default libraries
Forge/ForgeGradle doesn't include JEI...
-
Please, Please, PLEASE HELP
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.
-
[1.11.2] Block registered twice?
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.
-
block item texture will not load
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.
-
TE init method w/ world access
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
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)
Why on earth do you even want to extend ItemStack?
-
[1.11.2] Keybinds not Registering properly
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.
-
Decompile Mod
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.
-
Decompile Mod
Why are you trying to decompile it? Embers is open source.
-
ICommand not recognizing when on server
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.
IPS spam blocked by CleanTalk.