Package net.minecraft.entity.passive
Enum Class RabbitEntity.Action
- All Implemented Interfaces:
Serializable,Comparable<RabbitEntity.Action>,Constable
- Enclosing class:
- RabbitEntity
- Mappings:
Namespace Name official tu$bintermediary net/minecraft/class_2623$class_2625named net/minecraft/entity/passive/RabbitEntity$Action
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final floatprivate final intprivate final intprivate final float -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintfloatgetSpeed()floatintstatic RabbitEntity.ActionReturns the enum constant of this class with the specified name.static RabbitEntity.Action[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
- Mappings:
Namespace Name Mixin selector official aLtu$b;a:Ltu$b;intermediary field_11986Lnet/minecraft/class_2623$class_2625;field_11986:Lnet/minecraft/class_2623$class_2625;named NONELnet/minecraft/entity/passive/RabbitEntity$Action;NONE:Lnet/minecraft/entity/passive/RabbitEntity$Action;
-
HOP
- Mappings:
Namespace Name Mixin selector official bLtu$b;b:Ltu$b;intermediary field_11987Lnet/minecraft/class_2623$class_2625;field_11987:Lnet/minecraft/class_2623$class_2625;named HOPLnet/minecraft/entity/passive/RabbitEntity$Action;HOP:Lnet/minecraft/entity/passive/RabbitEntity$Action;
-
STEP
- Mappings:
Namespace Name Mixin selector official cLtu$b;c:Ltu$b;intermediary field_11988Lnet/minecraft/class_2623$class_2625;field_11988:Lnet/minecraft/class_2623$class_2625;named STEPLnet/minecraft/entity/passive/RabbitEntity$Action;STEP:Lnet/minecraft/entity/passive/RabbitEntity$Action;
-
SPRINT
- Mappings:
Namespace Name Mixin selector official dLtu$b;d:Ltu$b;intermediary field_11989Lnet/minecraft/class_2623$class_2625;field_11989:Lnet/minecraft/class_2623$class_2625;named SPRINTLnet/minecraft/entity/passive/RabbitEntity$Action;SPRINT:Lnet/minecraft/entity/passive/RabbitEntity$Action;
-
ATTACK
- Mappings:
Namespace Name Mixin selector official eLtu$b;e:Ltu$b;intermediary field_11990Lnet/minecraft/class_2623$class_2625;field_11990:Lnet/minecraft/class_2623$class_2625;named ATTACKLnet/minecraft/entity/passive/RabbitEntity$Action;ATTACK:Lnet/minecraft/entity/passive/RabbitEntity$Action;
-
-
Field Details
-
speed
private final float speed- Mappings:
Namespace Name Mixin selector official fLtu$b;f:Fintermediary field_11991Lnet/minecraft/class_2623$class_2625;field_11991:Fnamed speedLnet/minecraft/entity/passive/RabbitEntity$Action;speed:F
-
field_11992
private final float field_11992- Mappings:
Namespace Name Mixin selector official gLtu$b;g:Fintermediary field_11992Lnet/minecraft/class_2623$class_2625;field_11992:Fnamed field_11992Lnet/minecraft/entity/passive/RabbitEntity$Action;field_11992:F
-
field_11993
private final int field_11993- Mappings:
Namespace Name Mixin selector official hLtu$b;h:Iintermediary field_11993Lnet/minecraft/class_2623$class_2625;field_11993:Inamed field_11993Lnet/minecraft/entity/passive/RabbitEntity$Action;field_11993:I
-
field_11994
private final int field_11994- Mappings:
Namespace Name Mixin selector official iLtu$b;i:Iintermediary field_11994Lnet/minecraft/class_2623$class_2625;field_11994:Inamed field_11994Lnet/minecraft/entity/passive/RabbitEntity$Action;field_11994:I
-
-
Constructor Details
-
Action
private Action(float speed, float float2, int int2, int int3) - Mappings:
Namespace Name Mixin selector official <init>Ltu$b;<init>(Ljava/lang/String;IFFII)Vintermediary <init>Lnet/minecraft/class_2623$class_2625;<init>(Ljava/lang/String;IFFII)Vnamed <init>Lnet/minecraft/entity/passive/RabbitEntity$Action;<init>(Ljava/lang/String;IFFII)V
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getSpeed
public float getSpeed()- Mappings:
Namespace Name Mixin selector official aLtu$b;a()Fintermediary method_11093Lnet/minecraft/class_2623$class_2625;method_11093()Fnamed getSpeedLnet/minecraft/entity/passive/RabbitEntity$Action;getSpeed()F
-
method_11094
public float method_11094()- Mappings:
Namespace Name Mixin selector official bLtu$b;b()Fintermediary method_11094Lnet/minecraft/class_2623$class_2625;method_11094()Fnamed method_11094Lnet/minecraft/entity/passive/RabbitEntity$Action;method_11094()F
-
method_11095
public int method_11095()- Mappings:
Namespace Name Mixin selector official cLtu$b;c()Iintermediary method_11095Lnet/minecraft/class_2623$class_2625;method_11095()Inamed method_11095Lnet/minecraft/entity/passive/RabbitEntity$Action;method_11095()I
-
getJumpDuration
public int getJumpDuration()- Mappings:
Namespace Name Mixin selector official dLtu$b;d()Iintermediary method_11096Lnet/minecraft/class_2623$class_2625;method_11096()Inamed getJumpDurationLnet/minecraft/entity/passive/RabbitEntity$Action;getJumpDuration()I
-