Started by
Dexterminator
on
Topic category: Help with Minecraft modding (Java Edition)
So I made a mod that add new mob: little earthworm, but it have same hitbox as player and it doesn't even fit in 1x1x1 space. How I make the hitbox smaller? Any help?
Look this up before you post about it, you can find out how here https://mcreator.net/forum/33841/move-or-enlarge-hitbox-mob
Also, this is what the constructor looks like
public Entitytest(World var1) {
super(var1);
world = var1;
experienceValue = 5;
this.isImmuneToFire = false;
addRandomArmor();
setNoAI(!true);
this.tasks.addTask(0, new EntityAISwimming(this));
this.tasks.addTask(6, new EntityAIWander(this, 1.0D));
this.tasks.addTask(8, new EntityAILookIdle(this));
}