Started by
RoboWorks
on
Topic category: Help with Minecraft modding (Java Edition)
So I have tried everything but I can't make this work. I want the mob to run at the player and as soon as it gets in range of one block it instantly blows up. I have made it to work like a creeper but I need it to blow up instantly instead of a hissing delay. Is there any way to do it?
You need to code that in. I can maybe point you in the right direction if you are using 1.7.10. I am not good with anything over 1.7.10
I am using 1.7.10
@#2 You can use either array list or BoundingBox
I did it using this code:
public void onCollideWithPlayer(EntityPlayer entityplayer) {
world.createExplosion((Entity) null, posX, posY, posZ, 1F, true);
}