Everything posted by Animefan8888
-
[1.10.2]How to override vanilla AI with a modified version?
I see two ways of doing this 1. Create a new EntityVillager that uses your new AI and replace all vanilla villagers with it. 2. Use AccessTransformer or Reflection to change EntityLiving tasks variable to not be final.
-
[ACTUALLY SOLVED] [1.8.9] Trying to override Nether's chunk provider
If you are using the vanilla biomeHell then no, but it could be that you are adding your spawns before it has been initialized I think. Were they working before overriding the The Nether Dimension?
-
[ACTUALLY SOLVED] [1.8.9] Trying to override Nether's chunk provider
Could you do a check to see if the Biome is registered to the type?
-
[ACTUALLY SOLVED] [1.8.9] Trying to override Nether's chunk provider
Are vannila mobs spawning in the nether atleast?
-
[ACTUALLY SOLVED] [1.8.9] Trying to override Nether's chunk provider
I don't have a 1.8 workspace setup atm, so could you check if NetherMobs are registered using the BiomeDictionary? *edit Ignore me I'm a little tired It's like 1:30 over here.
-
[ACTUALLY SOLVED] [1.8.9] Trying to override Nether's chunk provider
Updated code please.
-
[ACTUALLY SOLVED] [1.8.9] Trying to override Nether's chunk provider
Oh also mark it as solved please.
-
[ACTUALLY SOLVED] [1.8.9] Trying to override Nether's chunk provider
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.
-
[ACTUALLY SOLVED] [1.8.9] Trying to override Nether's chunk provider
If you didn't see the disregard, DimensionType doesn't exist in 1.8.9, but if you are talking about my last post you do need to unregister the provider because it doesn't override. DimensionManager.registerProvider()
-
[Solved] On kill of zombie
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.
-
[Solved] On kill of zombie
Why are you still using 1.6.4? And Instead of MinecraftForge.EVENT_BUS.register(new EventHandlerClass) use FMLCommonHandler.instance().bus().register(new EventHandlerClass);
-
[Solved] On kill of zombie
What Minecraft version are you using.
-
[ACTUALLY SOLVED] [1.8.9] Trying to override Nether's chunk provider
You should also unregister the ProviderType.
-
[ACTUALLY SOLVED] [1.8.9] Trying to override Nether's chunk provider
DimensionType.register(); I believe just use the same ID as the nether. Disregard this, unless I am wrong and that does exist in 1.8.9.
-
[Solved] On kill of zombie
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.
-
[Solved] On kill of zombie
In your initialization method you need to call MinecraftForge.EVENT_BUS.register(new EventHandlerClass());
-
[ACTUALLY SOLVED] [1.8.9] Trying to override Nether's chunk provider
You also need to override the dimension type for the Nether.
-
[ACTUALLY SOLVED] [1.8.9] Trying to override Nether's chunk provider
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?
GameRegistry.registerFuelHandler(YourFuelHandler);
-
[1.10.2] IllegalArgumentException Name and ID cannot both be blank
No it can be accessed on the server, I believe the reason for this is because they use the gameprofile(UUID from the profile)of the player to save nbt.
-
[Solved][1.10] Client crashes on spawnEntity
Happy modding to you, and I'm glad I could help. write Solved in the topic subject.
-
[Solved][1.10] Client crashes on spawnEntity
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
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
New Crash Report please.
-
[Solved][1.10] Client crashes on spawnEntity
Is your Void Beast a hostile entity, if so you might be better to extend something that doesn't extend EntityAgeable
IPS spam blocked by CleanTalk.