Class EnchantmentsKt

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final static ItemEnchantments buildEnchantments(ItemEnchantments parent, Function1<ItemEnchantments.Mutable, Unit> builderAction) 新しいItemEnchantmentsのインスタンスを作成します。
      final static Map<Holder<Enchantment>, Integer> toMap(List<EnchantmentInstance> $self)
      final static Map<Holder<Enchantment>, Integer> toMap(ItemEnchantments $self)
      final static List<EnchantmentInstance> toInstances(ItemEnchantments $self)
      final static List<EnchantmentInstance> toInstances(Map<Holder<Enchantment>, Integer> $self)
      final static ItemEnchantments toItem(Map<Holder<Enchantment>, Integer> $self, ItemEnchantments parent)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • buildEnchantments

         final static ItemEnchantments buildEnchantments(ItemEnchantments parent, Function1<ItemEnchantments.Mutable, Unit> builderAction)

        新しいItemEnchantmentsのインスタンスを作成します。

        Parameters:
        builderAction - ItemEnchantmentsの値を指定するブロック
        Since:

        0.8.0

      • toMap

         final static Map<Holder<Enchantment>, Integer> toMap(List<EnchantmentInstance> $self)
        Since:

        0.10.0

      • toMap

         final static Map<Holder<Enchantment>, Integer> toMap(ItemEnchantments $self)
        Since:

        0.10.0

      • toInstances

         final static List<EnchantmentInstance> toInstances(ItemEnchantments $self)
        Since:

        0.10.0

      • toItem

         final static ItemEnchantments toItem(Map<Holder<Enchantment>, Integer> $self, ItemEnchantments parent)
        Since:

        0.10.0