-
Posts
243 -
Joined
-
Last visited
-
Days Won
1
Everything posted by The_Fireplace
-
[1.7.10]Custom pig throwing errors and not spawning
The_Fireplace replied to The_Fireplace's topic in Modder Support
Wow, I'm an idiot... I don't see how adding attackDamage to an animal could affect anything, but apparently it did. I do have render classes and proxy classes. I didn't post them because I knew that wasn't the issue. Also, I was more concerned about getting it to spawn before working on the AI. -
Change your modid to all lowercase letters. On another note, inside your @Mod, I would recommend adding name="SwordCaster" . That field can have uppercase letters.
-
I have it set to spawn in the nether, which it looks like it tries to do, because when I go to the nether, I get this error repeatedly until I leave or close the game: And this when I try using the spawn egg to spawn it: The custom pig class: And this code is in the modbase for it:
-
[1.7.10]My mod apparently causing a crash
The_Fireplace replied to The_Fireplace's topic in Modder Support
I've done more testing, and it is a Forge bug, issue report is here: https://github.com/MinecraftForge/MinecraftForge/issues/1253 -
[1.7.10]My mod apparently causing a crash
The_Fireplace replied to The_Fireplace's topic in Modder Support
Dependents work just like dependencies, but they load after instead of before. Seeing as I have all of the others set with fireplacecore as a dependency and required mod, listing them as dependents isn't really necessary, but I included that for completeness. And they are considered soft dependents, similar to how dependencies are soft dependencies, so they don't have to be there. Source: https://github.com/MinecraftForge/FML/wiki/FML-mod-information-file. Note: That code shouldn't affect anything anyways, if the source is correct, because the mcmod.info fields "dependants", "dependencies", and "requiredMods" aren't initialized unless "useDependencyInformation": true is there, which isn't there in the Fireplace Core section of the file. -
[1.7.10]My mod apparently causing a crash
The_Fireplace replied to The_Fireplace's topic in Modder Support
My mcmod.info: Removed, the issue was determined to be a forge bug -
[1.7.10][1180]Ingame Config Files
The_Fireplace replied to theOriginalByte's topic in Modder Support
I know you followed the tutorial, but I have to ask... If your mcmod.info set up correctly? If it isn't, fix it. If it is, then please show your code. -
Crash Report(I seriously don't see any relation between this and my mod, but it only occurs when it is present): And the files in my mod:
-
[1.7.2]How do I check when an entity moves?
The_Fireplace replied to The_Fireplace's topic in Modder Support
Yeah, I think so. -
How to make a block light up the area around it?
The_Fireplace replied to Toastrackenigma's topic in Modder Support
@Toastrackenigma: .setLightLevel(float) should work. I checked in Block.java, and Glowstone's is .setLightLevel(1.0F). -
I am making a class implementing IExtendedEntityProperties for Cows, and want to know how to check when a cow moves on the x or z axis(I am going to make a step counter for them).
-
In the recipe, caveFungus needs to be an ItemStack.
-
[1.7.2] GUI on custom furnace isn't opening
The_Fireplace replied to kennybenny's topic in Modder Support
Only reason I said may or may not is because some methods automatically override, without @Override -
[1.7.2] GUI on custom furnace isn't opening
The_Fireplace replied to kennybenny's topic in Modder Support
public boolean onBlockAcitvated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ){ if(!world.isRemote){ FMLNetworkHandler.openGui(player, MoreMetalsMod.instance, MoreMetalsMod.guiIDRefueler, world, x, y, z); } return true; } It says onBlockAcitvated, not onBlockActivated. And, once changing it, you may or may not need to add @Override.