mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-18 02:15:11 +00:00
Revert "Added several more functions to pre-existing classes:"
This reverts commit e9a8f8cebc.
This commit is contained in:
1 parent
0d3436c71b
commit
6ae465c5d0
51 files changed
+226
-1024
No files matched your search
@@ -63,88 +63,4 @@ public class ScriptLiving<T extends EntityLiving> extends ScriptLivingBase<T> im
|
||||
public boolean canSeeEntity(IEntity entity){
|
||||
return this.entity.getEntitySenses().canSee(entity.getMCEntity());
|
||||
}
|
||||
|
||||
public void playLivingSound() {
|
||||
this.entity.playLivingSound();
|
||||
}
|
||||
|
||||
public void spawnExplosionParticle()
|
||||
{
|
||||
this.entity.spawnExplosionParticle();
|
||||
}
|
||||
|
||||
public void setMoveForward(float speed)
|
||||
{
|
||||
this.entity.setMoveForward(speed);
|
||||
}
|
||||
|
||||
public void faceEntity(IEntity entity, float pitch, float yaw)
|
||||
{
|
||||
this.entity.faceEntity(entity.getMCEntity(), pitch, yaw);
|
||||
}
|
||||
|
||||
public boolean canPickUpLoot()
|
||||
{
|
||||
return this.entity.canPickUpLoot();
|
||||
}
|
||||
|
||||
public void setCanPickUpLoot(boolean pickUp)
|
||||
{
|
||||
this.entity.setCanPickUpLoot(pickUp);
|
||||
}
|
||||
|
||||
public boolean isPersistent()
|
||||
{
|
||||
return this.entity.isNoDespawnRequired();
|
||||
}
|
||||
|
||||
public void enablePersistence() {
|
||||
this.entity.func_110163_bv();
|
||||
}
|
||||
|
||||
public void setCustomNameTag(String text)
|
||||
{
|
||||
this.entity.setCustomNameTag(text);
|
||||
}
|
||||
|
||||
public String getCustomNameTag()
|
||||
{
|
||||
return this.entity.getCustomNameTag();
|
||||
}
|
||||
|
||||
public boolean hasCustomNameTag()
|
||||
{
|
||||
return this.entity.hasCustomNameTag();
|
||||
}
|
||||
|
||||
public void setAlwaysRenderNameTag(boolean alwaysRender)
|
||||
{
|
||||
this.entity.setAlwaysRenderNameTag(alwaysRender);
|
||||
}
|
||||
|
||||
public boolean getAlwaysRenderNameTag()
|
||||
{
|
||||
return this.entity.getAlwaysRenderNameTag();
|
||||
}
|
||||
|
||||
public void clearLeashed(boolean sendPacket, boolean dropLeash)
|
||||
{
|
||||
this.entity.clearLeashed(sendPacket,dropLeash);
|
||||
}
|
||||
|
||||
public boolean allowLeashing() {
|
||||
return this.entity.allowLeashing();
|
||||
}
|
||||
|
||||
public boolean getLeashed() {
|
||||
return this.entity.getLeashed();
|
||||
}
|
||||
|
||||
public IEntity getLeashedTo() {
|
||||
return NpcAPI.Instance().getIEntity(entity.getLeashedToEntity());
|
||||
}
|
||||
|
||||
public void setLeashedTo(IEntity entity, boolean sendPacket) {
|
||||
this.entity.setLeashedToEntity(entity.getMCEntity(), sendPacket);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user