Rename to NPC AI to NPC AIs

This commit is contained in:
Kam committed 2025-02-10 21:32:55 -05:00
1 parent a35db3f9e5
commit 7d37670494
46 files changed
+425 -419

No files matched your search

@@ -149,4 +149,16 @@ public class ScriptLiving<T extends EntityLiving> extends ScriptLivingBase<T> im
public boolean canBeSteered() {
return this.entity.canBeSteered();
}
@Override
public void setRotation(float rotation){
super.setRotation(rotation);
entity.getLookHelper().setLookPosition(getX(), getY(), getZ(), rotation, getPitch());
}
@Override
public void setPitch(float rotation){
super.setPitch(rotation);
entity.getLookHelper().setLookPosition(getX(), getY(), getZ(), getRotation(), rotation);
}
}