mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 02:37:27 +00:00
removed redundant faction functions
Luis C.M. will add API.getFactions() which returns the FactionController. All these functions use the faction controller anyway. Also Luis PR already has entity.getDimension and world.spawnEntity
This commit is contained in:
1 parent
b97d4eeeb2
commit
aba637be14
4 files changed
-53
No files matched your search
@@ -318,10 +318,6 @@ public class ScriptEntity<T extends Entity> implements IEntity {
|
||||
public void setPos(IPos pos) {
|
||||
this.entity.setPosition((double)((float)pos.getX() + 0.5F), (double)pos.getY(), (double)((float)pos.getZ() + 0.5F));
|
||||
}
|
||||
|
||||
public int getDimension() {
|
||||
return entity.dimension;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param range The search range for entities around this entity
|
||||
|
||||
Reference in new issue
Block a user