Added more functions to IPlayer, IEntityLiving, IEntityLivingBase, and IAnimal.

This commit is contained in:
Luis C.M committed 2022-12-26 01:13:28 -06:00
1 parent 25dcc975df
commit 1ac0b3b0a3
4 files changed
+43 -3

No files matched your search

@@ -147,4 +147,8 @@ public class ScriptLiving<T extends EntityLiving> extends ScriptLivingBase<T> im
public void setLeashedTo(IEntity entity, boolean sendPacket) {
this.entity.setLeashedToEntity(entity.getMCEntity(), sendPacket);
}
public boolean canBeSteered() {
return this.entity.canBeSteered();
}
}