类 BukkitUtils
java.lang.Object
io.github.lijinhong11.mittellib.utils.BukkitUtils
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static @Nullable MaterialgetMaterial(@NotNull String name) static @Nullable MaterialgetMaterial(@NotNull String name, @Nullable Material def) static @NotNull MaterialgetMaterialDef(@NotNull String name) static @Nullable NamespacedKeygetNamespacedKey(@Nullable String input) static @NotNull List<NamespacedKey> getNamespacedKeys(@NotNull Iterable<String> keys) static @Nullable StringgetProfileSkinURL(@NotNull ItemStack itemStack) static @Nullable LocationreadLocation(@NotNull ConfigurationSection cs) static @Nullable PotionEffectreadPotionEffect(@NotNull Map<String, Object> map) static @Nullable PotionEffectreadPotionEffect(@NotNull ConfigurationSection cs) static voidsetProfileBySkinURL(@NotNull ItemStack itemStack, @NotNull String url) writeColors(@NotNull List<Color> colors) static voidwriteLocationSection(@NotNull ConfigurationSection cs, @Nullable Location loc) writePotionEffect(@NotNull PotionEffect effect)
-
构造器详细资料
-
BukkitUtils
public BukkitUtils()
-
-
方法详细资料
-
getMaterial
-
getMaterialDef
-
getMaterial
-
getProfileSkinURL
-
setProfileBySkinURL
-
getNamespacedKey
-
getNamespacedKeys
@NotNull public static @NotNull List<NamespacedKey> getNamespacedKeys(@NotNull @NotNull Iterable<String> keys) -
readPotionEffect
@Nullable public static @Nullable PotionEffect readPotionEffect(@NotNull @NotNull ConfigurationSection cs) -
readPotionEffect
@Nullable public static @Nullable PotionEffect readPotionEffect(@NotNull @NotNull Map<String, Object> map) -
writePotionEffect
@NotNull public static @NotNull Map<String,Object> writePotionEffect(@NotNull @NotNull PotionEffect effect) -
toColors
-
writeColors
-
writeLocationSection
public static void writeLocationSection(@NotNull @NotNull ConfigurationSection cs, @Nullable @Nullable Location loc) -
readLocation
-