接口的使用
org.bukkit.entity.Villager.Type
使用Villager.Type的程序包
-
org.bukkit中Villager.Type的使用
类型参数类型为Villager.Type的org.bukkit中的字段 -
org.bukkit.entity中Villager.Type的使用
声明为Villager.Type的org.bukkit.entity中的字段修饰符和类型字段说明static final Villager.Type
Villager.Type.DESERT
static final Villager.Type
Villager.Type.JUNGLE
static final Villager.Type
Villager.Type.PLAINS
static final Villager.Type
Villager.Type.SAVANNA
static final Villager.Type
Villager.Type.SNOW
static final Villager.Type
Villager.Type.SWAMP
static final Villager.Type
Villager.Type.TAIGA
修饰符和类型方法说明Villager.getVillagerType()
Gets the current type of this villager.ZombieVillager.getVillagerType()
Gets the current type of this villager.static @NotNull Villager.Type
已过时。static @NotNull Villager.Type[]
Villager.Type.values()
已过时。useIterable.iterator()
.参数类型为Villager.Type的org.bukkit.entity中的方法修饰符和类型方法说明void
Villager.setVillagerType
(@NotNull Villager.Type type) Sets the new type of this villager.void
ZombieVillager.setVillagerType
(Villager.Type type) Sets the new type of this villager.
Registry.get(NamespacedKey)
instead.