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:
1whohears committed 2022-05-25 23:56:36 -05:00
1 parent b97d4eeeb2
commit aba637be14
4 files changed
-53

No files matched your search

@@ -219,19 +219,6 @@ public interface IWorld {
*/
public ScriptEntity spawnClone(int x, int y, int z, int tab, String name);
public boolean spawnEntity(Entity e);
/**
* Create a new default faction
* @param name The name of the new faction. If the name already exists an '_' will be added at the end
* @return The faction object which was created
*/
public ScriptFaction createFaction(String name);
public ScriptFaction getFactionFromName(String name);
public ScriptFaction getFactionFromId(int id);
public ScriptScoreboard getScoreboard();
BlockPos getMCBlockPos(int x, int y, int z);