Class NullEntityRegistry
java.lang.Object
com.sk89q.worldedit.world.registry.NullEntityRegistry
- All Implemented Interfaces:
EntityRegistry
An implementation of an entity registry that knows nothing.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
NullEntityRegistry
public NullEntityRegistry()
-
-
Method Details
-
createFromId
Description copied from interface:EntityRegistry
Create a new entity using its ID.- Specified by:
createFromId
in interfaceEntityRegistry
- Parameters:
id
- the id- Returns:
- the entity, which may be null if the entity does not exist
-