类的使用
org.bukkit.block.spawner.SpawnerEntry
使用SpawnerEntry的程序包
-
org.bukkit.spawner中SpawnerEntry的使用
返回变量类型为SpawnerEntry的类型的org.bukkit.spawner中的方法修饰符和类型方法说明BaseSpawner.getPotentialSpawns()Gets a list of potential spawns from this spawner or an empty list if no entities have been assigned to this spawner.参数类型为SpawnerEntry的org.bukkit.spawner中的方法修饰符和类型方法说明voidBaseSpawner.addPotentialSpawn(@NotNull SpawnerEntry spawnerEntry) Adds a newSpawnerEntryto the list of entities this spawner can spawn.voidBaseSpawner.setSpawnedEntity(@NotNull SpawnerEntry spawnerEntry) Sets theSpawnerEntrythat will be spawned by this spawner.类型变量类型为SpawnerEntry的org.bukkit.spawner中的方法参数修饰符和类型方法说明voidBaseSpawner.setPotentialSpawns(@NotNull Collection<SpawnerEntry> entries) Sets the list ofSpawnerEntrythis spawner can spawn.