Package org.bukkit.entity
Interface EntityFactory
@Experimental
public interface EntityFactory
-
Method Summary
Modifier and TypeMethodDescriptioncreateEntitySnapshot(String input) Create a new EntitySnapshot with the supplied input.
Accepts strings in the format output byEntitySnapshot.getAsString().
-
Method Details
-
createEntitySnapshot
Create a new EntitySnapshot with the supplied input.
Accepts strings in the format output byEntitySnapshot.getAsString().- Parameters:
input- the input string- Returns:
- the created EntitySnapshot
- Throws:
IllegalArgumentException- if the input string was provided in an invalid or unsupported format
-