接口的使用
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.TypeVillager.Type.DESERTstatic final Villager.TypeVillager.Type.JUNGLEstatic final Villager.TypeVillager.Type.PLAINSstatic final Villager.TypeVillager.Type.SAVANNAstatic final Villager.TypeVillager.Type.SNOWstatic final Villager.TypeVillager.Type.SWAMPstatic final Villager.TypeVillager.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中的方法修饰符和类型方法说明voidVillager.setVillagerType(@NotNull Villager.Type type) Sets the new type of this villager.voidZombieVillager.setVillagerType(Villager.Type type) Sets the new type of this villager.
Registry.get(NamespacedKey)instead.