Enum Class MovementType

java.lang.Object
java.lang.Enum<MovementType>
net.minecraft.entity.MovementType
All Implemented Interfaces:
Serializable, Comparable<MovementType>, Constable

public enum MovementType extends Enum<MovementType>
Mappings:
Namespace Name
official tc
intermediary net/minecraft/class_3131
named net/minecraft/entity/MovementType
  • Enum Constant Details

    • SELF

      public static final MovementType SELF
      Mappings:
      Namespace Name Mixin selector
      official a Ltc;a:Ltc;
      intermediary field_15470 Lnet/minecraft/class_3131;field_15470:Lnet/minecraft/class_3131;
      named SELF Lnet/minecraft/entity/MovementType;SELF:Lnet/minecraft/entity/MovementType;
    • PLAYER

      public static final MovementType PLAYER
      Mappings:
      Namespace Name Mixin selector
      official b Ltc;b:Ltc;
      intermediary field_15471 Lnet/minecraft/class_3131;field_15471:Lnet/minecraft/class_3131;
      named PLAYER Lnet/minecraft/entity/MovementType;PLAYER:Lnet/minecraft/entity/MovementType;
    • PISTON

      public static final MovementType PISTON
      Mappings:
      Namespace Name Mixin selector
      official c Ltc;c:Ltc;
      intermediary field_15472 Lnet/minecraft/class_3131;field_15472:Lnet/minecraft/class_3131;
      named PISTON Lnet/minecraft/entity/MovementType;PISTON:Lnet/minecraft/entity/MovementType;
    • SHULKER_BOX

      public static final MovementType SHULKER_BOX
      Mappings:
      Namespace Name Mixin selector
      official d Ltc;d:Ltc;
      intermediary field_15473 Lnet/minecraft/class_3131;field_15473:Lnet/minecraft/class_3131;
      named SHULKER_BOX Lnet/minecraft/entity/MovementType;SHULKER_BOX:Lnet/minecraft/entity/MovementType;
    • SHULKER

      public static final MovementType SHULKER
      Mappings:
      Namespace Name Mixin selector
      official e Ltc;e:Ltc;
      intermediary field_15474 Lnet/minecraft/class_3131;field_15474:Lnet/minecraft/class_3131;
      named SHULKER Lnet/minecraft/entity/MovementType;SHULKER:Lnet/minecraft/entity/MovementType;
  • Constructor Details

    • MovementType

      private MovementType()
  • Method Details

    • values

      public static MovementType[] 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 MovementType 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