mirror of
https://github.com/KAMKEEL/CustomNPC-Plus.git
synced 2026-11-12 02:37:27 +00:00
IParticle:
-Replaced spawnOnEntity and spawnInWorld with a single function name "spawn". Deprecated the others.
This commit is contained in:
1 parent
1110748504
commit
e048496e4d
3 files changed
+29
-8
No files matched your search
@@ -248,7 +248,7 @@ public class ScriptEntity<T extends Entity> implements IEntity {
|
||||
NoppesUtilServer.spawnScriptedParticle(compound, this.getWorld().getDimensionID());
|
||||
}
|
||||
|
||||
public void spawnParticle(IParticle entityParticle) { entityParticle.spawnOnEntity(this); }
|
||||
public void spawnParticle(IParticle entityParticle) { entityParticle.spawn(this); }
|
||||
|
||||
public int getEntityId(){
|
||||
return entity.getEntityId();
|
||||
|
||||
Reference in new issue
Block a user