mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-16 16:34:46 +00:00
Added getAllServerPlayers, createItem & createEntityParticle to NPC API. Added getDimensionID() to ScriptWorld.
This commit is contained in:
1 parent
d5c13ae65f
commit
77c2897109
4 files changed
+47
No files matched your search
@@ -362,4 +362,8 @@ public class ScriptWorld implements IWorld {
|
||||
public WorldServer getMCWorld(){
|
||||
return this.world;
|
||||
}
|
||||
|
||||
public int getDimensionID(){
|
||||
return world.provider.dimensionId;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user