Enum Class VehicleCollisionTypes

java.lang.Object
java.lang.Enum<VehicleCollisionTypes>
net.minecraft.vote.VehicleCollisionTypes
All Implemented Interfaces:
Serializable, Comparable<VehicleCollisionTypes>, Constable, StringIdentifiable

public enum VehicleCollisionTypes extends Enum<VehicleCollisionTypes> implements StringIdentifiable
Mappings:
Namespace Name
official bgd
intermediary net/minecraft/class_8361
named net/minecraft/vote/VehicleCollisionTypes
  • Enum Constant Details

    • NONE

      public static final VehicleCollisionTypes NONE
      Mappings:
      Namespace Name Mixin selector
      official a Lbgd;a:Lbgd;
      intermediary field_43956 Lnet/minecraft/class_8361;field_43956:Lnet/minecraft/class_8361;
      named NONE Lnet/minecraft/vote/VehicleCollisionTypes;NONE:Lnet/minecraft/vote/VehicleCollisionTypes;
    • BREAK

      public static final VehicleCollisionTypes BREAK
      Mappings:
      Namespace Name Mixin selector
      official b Lbgd;b:Lbgd;
      intermediary field_43957 Lnet/minecraft/class_8361;field_43957:Lnet/minecraft/class_8361;
      named BREAK Lnet/minecraft/vote/VehicleCollisionTypes;BREAK:Lnet/minecraft/vote/VehicleCollisionTypes;
    • EXPLODE

      public static final VehicleCollisionTypes EXPLODE
      Mappings:
      Namespace Name Mixin selector
      official c Lbgd;c:Lbgd;
      intermediary field_43958 Lnet/minecraft/class_8361;field_43958:Lnet/minecraft/class_8361;
      named EXPLODE Lnet/minecraft/vote/VehicleCollisionTypes;EXPLODE:Lnet/minecraft/vote/VehicleCollisionTypes;
  • Field Details

    • CODEC

      public static final StringIdentifiable.Codec<VehicleCollisionTypes> CODEC
      Mappings:
      Namespace Name Mixin selector
      official d Lbgd;d:Lcom/mojang/serialization/Codec;
      intermediary field_43959 Lnet/minecraft/class_8361;field_43959:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/vote/VehicleCollisionTypes;CODEC:Lcom/mojang/serialization/Codec;
    • id

      private final String id
      Mappings:
      Namespace Name Mixin selector
      official e Lbgd;e:Ljava/lang/String;
      intermediary field_43960 Lnet/minecraft/class_8361;field_43960:Ljava/lang/String;
      named id Lnet/minecraft/vote/VehicleCollisionTypes;id:Ljava/lang/String;
  • Constructor Details

    • VehicleCollisionTypes

      private VehicleCollisionTypes(String id)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbgd;<init>(Ljava/lang/String;ILjava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_8361;<init>(Ljava/lang/String;ILjava/lang/String;)V
      named <init> Lnet/minecraft/vote/VehicleCollisionTypes;<init>(Ljava/lang/String;ILjava/lang/String;)V
  • Method Details

    • values

      public static VehicleCollisionTypes[] 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 VehicleCollisionTypes 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
    • asString

      public String asString()
      Returns the unique string representation of the enum, used for serialization.
      Specified by:
      asString in interface StringIdentifiable
      Returns:
      the unique string representation of the enum, used for serialization
      Mappings:
      Namespace Name Mixin selector
      official c Lapw;c()Ljava/lang/String;
      intermediary method_15434 Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
      named asString Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;