mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-18 02:15:11 +00:00
Rename to NPC AI to NPC AIs
This commit is contained in:
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);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user