diff --git a/src/main/java/dev/itsmeow/whisperwoods/entity/EntityMoth.java b/src/main/java/dev/itsmeow/whisperwoods/entity/EntityMoth.java index b3ed1e4..adb3c57 100644 --- a/src/main/java/dev/itsmeow/whisperwoods/entity/EntityMoth.java +++ b/src/main/java/dev/itsmeow/whisperwoods/entity/EntityMoth.java @@ -10,6 +10,7 @@ import net.minecraft.block.LanternBlock; import net.minecraft.block.RedstoneLampBlock; import net.minecraft.block.TorchBlock; +import net.minecraft.entity.CreatureAttribute; import net.minecraft.entity.Entity; import net.minecraft.entity.EntityPredicate; import net.minecraft.entity.EntityType; @@ -90,6 +91,11 @@ public void setNotLanded() { this.dataManager.set(LANDED, 1); } + @Override + public CreatureAttribute getCreatureAttribute() { + return CreatureAttribute.ARTHROPOD; + } + @Override public void tick() { super.tick();