Package net.minecraft.entity
Enum Class CollisionEvent
- All Implemented Interfaces:
Serializable,Comparable<CollisionEvent>,Constable
- Mappings:
Namespace Name named net/minecraft/entity/CollisionEventintermediary net/minecraft/class_10776official bxy
-
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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CollisionEventReturns the enum constant of this class with the specified name.static CollisionEvent[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FREEZE
- Mappings:
Namespace Name Mixin selector named FREEZELnet/minecraft/entity/CollisionEvent;FREEZE:Lnet/minecraft/entity/CollisionEvent;intermediary field_56642Lnet/minecraft/class_10776;field_56642:Lnet/minecraft/class_10776;official aLbxy;a:Lbxy;
-
FIRE_IGNITE
- Mappings:
Namespace Name Mixin selector named FIRE_IGNITELnet/minecraft/entity/CollisionEvent;FIRE_IGNITE:Lnet/minecraft/entity/CollisionEvent;intermediary field_56643Lnet/minecraft/class_10776;field_56643:Lnet/minecraft/class_10776;official bLbxy;b:Lbxy;
-
LAVA_IGNITE
- Mappings:
Namespace Name Mixin selector named LAVA_IGNITELnet/minecraft/entity/CollisionEvent;LAVA_IGNITE:Lnet/minecraft/entity/CollisionEvent;intermediary field_56644Lnet/minecraft/class_10776;field_56644:Lnet/minecraft/class_10776;official cLbxy;c:Lbxy;
-
EXTINGUISH
- Mappings:
Namespace Name Mixin selector named EXTINGUISHLnet/minecraft/entity/CollisionEvent;EXTINGUISH:Lnet/minecraft/entity/CollisionEvent;intermediary field_56645Lnet/minecraft/class_10776;field_56645:Lnet/minecraft/class_10776;official dLbxy;d:Lbxy;
-
-
Field Details
-
action
- Mappings:
Namespace Name Mixin selector named actionLnet/minecraft/entity/CollisionEvent;action:Ljava/util/function/Consumer;intermediary field_56646Lnet/minecraft/class_10776;field_56646:Ljava/util/function/Consumer;official eLbxy;e:Ljava/util/function/Consumer;
-
-
Constructor Details
-
CollisionEvent
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/entity/CollisionEvent;<init>(Ljava/lang/String;ILjava/util/function/Consumer;)Vintermediary <init>Lnet/minecraft/class_10776;<init>(Ljava/lang/String;ILjava/util/function/Consumer;)Vofficial <init>Lbxy;<init>(Ljava/lang/String;ILjava/util/function/Consumer;)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
-
getAction
- Mappings:
Namespace Name Mixin selector named getActionLnet/minecraft/entity/CollisionEvent;getAction()Ljava/util/function/Consumer;intermediary method_67646Lnet/minecraft/class_10776;method_67646()Ljava/util/function/Consumer;official aLbxy;a()Ljava/util/function/Consumer;
-