-
Posts
6157 -
Joined
-
Last visited
-
Days Won
59
Everything posted by Animefan8888
-
Well since I am not the best when it comes to this, Natura has a github, and it is a mod you are using as a reference. Take this it is dangerous to go alone. https://github.com/progwml6/Natura/blob/master/src/main/java/mods/natura/dimension/NetheriteChunkProvider.java *edit It might be something as simple as checking if the y level is less than a number and set the block you want though.
-
Oh thank you Cool Alias I completely forgot what goes where when dealing with Events thanks for the refresher, now if you'll excuse me I've got some reading to refresh on.
-
Why are you still using 1.6.4? And Instead of MinecraftForge.EVENT_BUS.register(new EventHandlerClass) use FMLCommonHandler.instance().bus().register(new EventHandlerClass);
-
What Minecraft version are you using.
-
Now that I look at your code you are checking to see if the entity that died is an instance of EntityPlayer not entity Zombie. Sorry I read that post wrong. ANd to check if it was the player that killed it, use the damagesource object.
-
In your initialization method you need to call MinecraftForge.EVENT_BUS.register(new EventHandlerClass());
-
Have you tried to do any debugging and have you looked into unregistering a vanilla dimension cause I'm not sure if that is possible as it would cause a huge problem. Plus DimensionManager.registerDimension() is only ever called in DimensionMessageHandler in the forge source. Not sure when the packet is sent though.
-
[1.10.2][SOLVED] Is there a global registry for fuels?
Animefan8888 replied to Starless's topic in Modder Support
GameRegistry.registerFuelHandler(YourFuelHandler); -
[Solved][1.10] Client crashes on spawnEntity
Animefan8888 replied to Zerahi's topic in Modder Support
Happy modding to you, and I'm glad I could help. write Solved in the topic subject. -
[Solved][1.10] Client crashes on spawnEntity
Animefan8888 replied to Zerahi's topic in Modder Support
All entities need to be registered with the EntityRegistry, but no instead of public static Entity altarlisttier1(ItemStack item) { for (Entry<ItemStack, Entity> entry : altarlisttier1.entrySet()) { if (ItemStack.areItemsEqual(item, (ItemStack)entry.getKey())) { return entry.getValue(); } else { return null; } } return null; } Some thing like public static Entity getEntityFromItemStackInAltar(World world, ItemStack stack) { // Only needs either instanceof or == if (stack != null && (stack.getItem() instanceof ItemClass || stack.getItem() == Items.diamond)) { return new Entity(world); } } -
[Solved][1.10] Client crashes on spawnEntity
Animefan8888 replied to Zerahi's topic in Modder Support
Also it seems when you create that single instance, thank you for pointing that out Choonster, you are passing in a null parameter for world. -
[Solved][1.10] Client crashes on spawnEntity
Animefan8888 replied to Zerahi's topic in Modder Support
New Crash Report please. -
[Solved][1.10] Client crashes on spawnEntity
Animefan8888 replied to Zerahi's topic in Modder Support
Is your Void Beast a hostile entity, if so you might be better to extend something that doesn't extend EntityAgeable