Package org.bukkit.entity
Interface EntityFactory
-
Method Summary
Modifier and TypeMethodDescriptioncreateEntitySnapshot
(@NotNull String input) Create a new EntitySnapshot with the supplied input.
Accepts strings in the format output byEntitySnapshot.getAsString()
.
-
Method Details
-
createEntitySnapshot
@NotNull @NotNull EntitySnapshot createEntitySnapshot(@NotNull @NotNull String input) throws IllegalArgumentException 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
-