Package org.bukkit.entity
Interface EntityFactory
@Experimental
public interface EntityFactory
- 
Method SummaryModifier and TypeMethodDescriptioncreateEntitySnapshot(String input) Create a new EntitySnapshot with the supplied input.
 Accepts strings in the format output byEntitySnapshot.getAsString().
- 
Method Details- 
createEntitySnapshotCreate 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
 
 
-