Enum Class Entity.MoveEffect

java.lang.Object
java.lang.Enum<Entity.MoveEffect>
net.minecraft.entity.Entity.MoveEffect
All Implemented Interfaces:
Serializable, Comparable<Entity.MoveEffect>, Constable
Enclosing class:
Entity

public static enum Entity.MoveEffect extends Enum<Entity.MoveEffect>
The move effect represents possible effects of an entity moving, such as playing sounds, emitting game events, none, or both.
See Also:
Mappings:
Namespace Name
named net/minecraft/entity/Entity$MoveEffect
intermediary net/minecraft/class_1297$class_5799
official bsv$b
  • Enum Constant Details

    • NONE

      public static final Entity.MoveEffect NONE
      Mappings:
      Namespace Name Mixin selector
      named NONE Lnet/minecraft/entity/Entity$MoveEffect;NONE:Lnet/minecraft/entity/Entity$MoveEffect;
      intermediary field_28630 Lnet/minecraft/class_1297$class_5799;field_28630:Lnet/minecraft/class_1297$class_5799;
      official a Lbsv$b;a:Lbsv$b;
    • SOUNDS

      public static final Entity.MoveEffect SOUNDS
      Mappings:
      Namespace Name Mixin selector
      named SOUNDS Lnet/minecraft/entity/Entity$MoveEffect;SOUNDS:Lnet/minecraft/entity/Entity$MoveEffect;
      intermediary field_28631 Lnet/minecraft/class_1297$class_5799;field_28631:Lnet/minecraft/class_1297$class_5799;
      official b Lbsv$b;b:Lbsv$b;
    • EVENTS

      public static final Entity.MoveEffect EVENTS
      Mappings:
      Namespace Name Mixin selector
      named EVENTS Lnet/minecraft/entity/Entity$MoveEffect;EVENTS:Lnet/minecraft/entity/Entity$MoveEffect;
      intermediary field_28632 Lnet/minecraft/class_1297$class_5799;field_28632:Lnet/minecraft/class_1297$class_5799;
      official c Lbsv$b;c:Lbsv$b;
    • ALL

      public static final Entity.MoveEffect ALL
      Mappings:
      Namespace Name Mixin selector
      named ALL Lnet/minecraft/entity/Entity$MoveEffect;ALL:Lnet/minecraft/entity/Entity$MoveEffect;
      intermediary field_28633 Lnet/minecraft/class_1297$class_5799;field_28633:Lnet/minecraft/class_1297$class_5799;
      official d Lbsv$b;d:Lbsv$b;
  • Field Details

    • sounds

      final boolean sounds
      Mappings:
      Namespace Name Mixin selector
      named sounds Lnet/minecraft/entity/Entity$MoveEffect;sounds:Z
      intermediary field_28634 Lnet/minecraft/class_1297$class_5799;field_28634:Z
      official e Lbsv$b;e:Z
    • events

      final boolean events
      Mappings:
      Namespace Name Mixin selector
      named events Lnet/minecraft/entity/Entity$MoveEffect;events:Z
      intermediary field_28635 Lnet/minecraft/class_1297$class_5799;field_28635:Z
      official f Lbsv$b;f:Z
  • Constructor Details

    • MoveEffect

      private MoveEffect(boolean sounds, boolean events)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/Entity$MoveEffect;<init>(Ljava/lang/String;IZZ)V
      intermediary <init> Lnet/minecraft/class_1297$class_5799;<init>(Ljava/lang/String;IZZ)V
      official <init> Lbsv$b;<init>(Ljava/lang/String;IZZ)V
  • Method Details

    • values

      public static Entity.MoveEffect[] 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

      public static Entity.MoveEffect valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • hasAny

      public boolean hasAny()
      Returns whether this means an entity may emit game events or play sounds as it moves.
      Mappings:
      Namespace Name Mixin selector
      named hasAny Lnet/minecraft/entity/Entity$MoveEffect;hasAny()Z
      intermediary method_33576 Lnet/minecraft/class_1297$class_5799;method_33576()Z
      official a Lbsv$b;a()Z
    • emitsGameEvents

      public boolean emitsGameEvents()
      Returns whether this means an entity may emit game events as it moves.
      Mappings:
      Namespace Name Mixin selector
      named emitsGameEvents Lnet/minecraft/entity/Entity$MoveEffect;emitsGameEvents()Z
      intermediary method_33577 Lnet/minecraft/class_1297$class_5799;method_33577()Z
      official b Lbsv$b;b()Z
    • playsSounds

      public boolean playsSounds()
      Returns whether this means an entity may play sounds as it moves.
      Mappings:
      Namespace Name Mixin selector
      named playsSounds Lnet/minecraft/entity/Entity$MoveEffect;playsSounds()Z
      intermediary method_33578 Lnet/minecraft/class_1297$class_5799;method_33578()Z
      official c Lbsv$b;c()Z