接口的使用
org.bukkit.entity.Villager.Type
-
org.bukkit中Villager.Type的使用
-
org.bukkit.entity中Villager.Type的使用
修饰符和类型字段说明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()
.修饰符和类型方法说明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.