枚举 SpellcastingIllagerEntity.Spell

    • 枚举常量详细资料

      • NONE

        public static final SpellcastingIllagerEntity.Spell NONE
        Mappings:
        Namespace Name Mixin selector
        official a Lbhj$a;a:Lbhj$a;
        intermediary field_7377 Lnet/minecraft/class_1617$class_1618;field_7377:Lnet/minecraft/class_1617$class_1618;
        named NONE Lnet/minecraft/entity/mob/SpellcastingIllagerEntity$Spell;NONE:Lnet/minecraft/entity/mob/SpellcastingIllagerEntity$Spell;
      • SUMMON_VEX

        public static final SpellcastingIllagerEntity.Spell SUMMON_VEX
        Mappings:
        Namespace Name Mixin selector
        official b Lbhj$a;b:Lbhj$a;
        intermediary field_7379 Lnet/minecraft/class_1617$class_1618;field_7379:Lnet/minecraft/class_1617$class_1618;
        named SUMMON_VEX Lnet/minecraft/entity/mob/SpellcastingIllagerEntity$Spell;SUMMON_VEX:Lnet/minecraft/entity/mob/SpellcastingIllagerEntity$Spell;
      • FANGS

        public static final SpellcastingIllagerEntity.Spell FANGS
        Mappings:
        Namespace Name Mixin selector
        official c Lbhj$a;c:Lbhj$a;
        intermediary field_7380 Lnet/minecraft/class_1617$class_1618;field_7380:Lnet/minecraft/class_1617$class_1618;
        named FANGS Lnet/minecraft/entity/mob/SpellcastingIllagerEntity$Spell;FANGS:Lnet/minecraft/entity/mob/SpellcastingIllagerEntity$Spell;
      • WOLOLO

        public static final SpellcastingIllagerEntity.Spell WOLOLO
        Mappings:
        Namespace Name Mixin selector
        official d Lbhj$a;d:Lbhj$a;
        intermediary field_7381 Lnet/minecraft/class_1617$class_1618;field_7381:Lnet/minecraft/class_1617$class_1618;
        named WOLOLO Lnet/minecraft/entity/mob/SpellcastingIllagerEntity$Spell;WOLOLO:Lnet/minecraft/entity/mob/SpellcastingIllagerEntity$Spell;
      • DISAPPEAR

        public static final SpellcastingIllagerEntity.Spell DISAPPEAR
        Mappings:
        Namespace Name Mixin selector
        official e Lbhj$a;e:Lbhj$a;
        intermediary field_7382 Lnet/minecraft/class_1617$class_1618;field_7382:Lnet/minecraft/class_1617$class_1618;
        named DISAPPEAR Lnet/minecraft/entity/mob/SpellcastingIllagerEntity$Spell;DISAPPEAR:Lnet/minecraft/entity/mob/SpellcastingIllagerEntity$Spell;
      • BLINDNESS

        public static final SpellcastingIllagerEntity.Spell BLINDNESS
        Mappings:
        Namespace Name Mixin selector
        official f Lbhj$a;f:Lbhj$a;
        intermediary field_7378 Lnet/minecraft/class_1617$class_1618;field_7378:Lnet/minecraft/class_1617$class_1618;
        named BLINDNESS Lnet/minecraft/entity/mob/SpellcastingIllagerEntity$Spell;BLINDNESS:Lnet/minecraft/entity/mob/SpellcastingIllagerEntity$Spell;
    • 字段详细资料

      • id

        private final int id
        Mappings:
        Namespace Name Mixin selector
        official g Lbhj$a;g:I
        intermediary field_7375 Lnet/minecraft/class_1617$class_1618;field_7375:I
        named id Lnet/minecraft/entity/mob/SpellcastingIllagerEntity$Spell;id:I
      • particleVelocity

        private final double[] particleVelocity
        Mappings:
        Namespace Name Mixin selector
        official h Lbhj$a;h:[D
        intermediary field_7374 Lnet/minecraft/class_1617$class_1618;field_7374:[D
        named particleVelocity Lnet/minecraft/entity/mob/SpellcastingIllagerEntity$Spell;particleVelocity:[D
    • 构造器详细资料

      • Spell

        private Spell​(int id,
                      double particleVelocityX,
                      double particleVelocityY,
                      double particleVelocityZ)
        Mappings:
        Namespace Name Mixin selector
        official <init> Lbhj$a;<init>(Ljava/lang/String;IIDDD)V
        intermediary <init> Lnet/minecraft/class_1617$class_1618;<init>(Ljava/lang/String;IIDDD)V
        named <init> Lnet/minecraft/entity/mob/SpellcastingIllagerEntity$Spell;<init>(Ljava/lang/String;IIDDD)V
    • 方法详细资料

      • values

        public static SpellcastingIllagerEntity.Spell[] values()
        按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。该方法可用于迭代 常量, 如下所示:
        for (SpellcastingIllagerEntity.Spell c : SpellcastingIllagerEntity.Spell.values())
            System.out.println(c);
        
        返回:
        按照声明该枚举类型的常量的顺序返回的包含这些常量的数组
      • valueOf

        public static SpellcastingIllagerEntity.Spell valueOf​(String name)
        返回带有指定名称的该类型的枚举常量。 字符串必须与用于声明该类型的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)
        参数:
        name - 要返回的枚举常量的名称。
        返回:
        返回带有指定名称的枚举常量
        抛出:
        IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量
        NullPointerException - 如果参数为空值
      • byId

        public static SpellcastingIllagerEntity.Spell byId​(int id)
        Mappings:
        Namespace Name Mixin selector
        official a Lbhj$a;a(I)Lbhj$a;
        intermediary method_7144 Lnet/minecraft/class_1617$class_1618;method_7144(I)Lnet/minecraft/class_1617$class_1618;
        named byId Lnet/minecraft/entity/mob/SpellcastingIllagerEntity$Spell;byId(I)Lnet/minecraft/entity/mob/SpellcastingIllagerEntity$Spell;