枚举 SpellcastingIllagerEntity.Spell
- java.lang.Object
-
- java.lang.Enum<SpellcastingIllagerEntity.Spell>
-
- net.minecraft.entity.mob.SpellcastingIllagerEntity.Spell
-
- 所有已实现的接口:
Serializable,Comparable<SpellcastingIllagerEntity.Spell>
public static enum SpellcastingIllagerEntity.Spell extends Enum<SpellcastingIllagerEntity.Spell>
- Mappings:
Namespace Name official bhj$aintermediary net/minecraft/class_1617$class_1618named net/minecraft/entity/mob/SpellcastingIllagerEntity$Spell
-
-
字段概要
字段 修饰符和类型 字段 说明 private intidprivate double[]particleVelocity
-
构造器概要
构造器 限定符 构造器 说明 privateSpell(int id, double particleVelocityX, double particleVelocityY, double particleVelocityZ)
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 static SpellcastingIllagerEntity.SpellbyId(int id)static SpellcastingIllagerEntity.SpellvalueOf(String name)返回带有指定名称的该类型的枚举常量。static SpellcastingIllagerEntity.Spell[]values()按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
-
-
-
枚举常量详细资料
-
NONE
public static final SpellcastingIllagerEntity.Spell NONE
- Mappings:
Namespace Name Mixin selector official aLbhj$a;a:Lbhj$a;intermediary field_7377Lnet/minecraft/class_1617$class_1618;field_7377:Lnet/minecraft/class_1617$class_1618;named NONELnet/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 bLbhj$a;b:Lbhj$a;intermediary field_7379Lnet/minecraft/class_1617$class_1618;field_7379:Lnet/minecraft/class_1617$class_1618;named SUMMON_VEXLnet/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 cLbhj$a;c:Lbhj$a;intermediary field_7380Lnet/minecraft/class_1617$class_1618;field_7380:Lnet/minecraft/class_1617$class_1618;named FANGSLnet/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 dLbhj$a;d:Lbhj$a;intermediary field_7381Lnet/minecraft/class_1617$class_1618;field_7381:Lnet/minecraft/class_1617$class_1618;named WOLOLOLnet/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 eLbhj$a;e:Lbhj$a;intermediary field_7382Lnet/minecraft/class_1617$class_1618;field_7382:Lnet/minecraft/class_1617$class_1618;named DISAPPEARLnet/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 fLbhj$a;f:Lbhj$a;intermediary field_7378Lnet/minecraft/class_1617$class_1618;field_7378:Lnet/minecraft/class_1617$class_1618;named BLINDNESSLnet/minecraft/entity/mob/SpellcastingIllagerEntity$Spell;BLINDNESS:Lnet/minecraft/entity/mob/SpellcastingIllagerEntity$Spell;
-
-
字段详细资料
-
id
private final int id
- Mappings:
Namespace Name Mixin selector official gLbhj$a;g:Iintermediary field_7375Lnet/minecraft/class_1617$class_1618;field_7375:Inamed idLnet/minecraft/entity/mob/SpellcastingIllagerEntity$Spell;id:I
-
particleVelocity
private final double[] particleVelocity
- Mappings:
Namespace Name Mixin selector official hLbhj$a;h:[Dintermediary field_7374Lnet/minecraft/class_1617$class_1618;field_7374:[Dnamed particleVelocityLnet/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)Vintermediary <init>Lnet/minecraft/class_1617$class_1618;<init>(Ljava/lang/String;IIDDD)Vnamed <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 aLbhj$a;a(I)Lbhj$a;intermediary method_7144Lnet/minecraft/class_1617$class_1618;method_7144(I)Lnet/minecraft/class_1617$class_1618;named byIdLnet/minecraft/entity/mob/SpellcastingIllagerEntity$Spell;byId(I)Lnet/minecraft/entity/mob/SpellcastingIllagerEntity$Spell;
-
-