程序包 org.bukkit.entity

# 接口 EntityFactory

@Experimental public interface EntityFactory

- ## 方法概要

  修饰符和类型
  方法
  说明
  `@NotNull EntitySnapshot`
  `createEntitySnapshot(@NotNull String input)`
  Create a new EntitySnapshot with the supplied input.
  Accepts strings in the format output by `EntitySnapshot.getAsString()`.

- ## 方法详细资料

  - ### 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 by `EntitySnapshot.getAsString()`.
    参数:
      `input` - the input string
    返回:
      the created EntitySnapshot
    抛出:
      `IllegalArgumentException` - if the input string was provided in an invalid or unsupported format