Entity.clone constructor
Entity.clone(
- Entity ent
creates a new instance of an already existing Entity object
Implementation
Entity.clone(Entity ent)
: selector = ent.selector,
playerName = ent.playerName,
arguments = ent.arguments.deepCopy();