Enum Class BoatEntity.Type

java.lang.Object
java.lang.Enum<BoatEntity.Type>
net.minecraft.entity.vehicle.BoatEntity.Type
All Implemented Interfaces:
Serializable, Comparable<BoatEntity.Type>, Constable, StringIdentifiable
Enclosing class:
BoatEntity

public static enum BoatEntity.Type extends Enum<BoatEntity.Type> implements StringIdentifiable
Mappings:
Namespace Name
named net/minecraft/entity/vehicle/BoatEntity$Type
intermediary net/minecraft/class_1690$class_1692
official cow$b
  • Enum Constant Details

    • OAK

      public static final BoatEntity.Type OAK
      Mappings:
      Namespace Name Mixin selector
      named OAK Lnet/minecraft/entity/vehicle/BoatEntity$Type;OAK:Lnet/minecraft/entity/vehicle/BoatEntity$Type;
      intermediary field_7727 Lnet/minecraft/class_1690$class_1692;field_7727:Lnet/minecraft/class_1690$class_1692;
      official a Lcow$b;a:Lcow$b;
    • SPRUCE

      public static final BoatEntity.Type SPRUCE
      Mappings:
      Namespace Name Mixin selector
      named SPRUCE Lnet/minecraft/entity/vehicle/BoatEntity$Type;SPRUCE:Lnet/minecraft/entity/vehicle/BoatEntity$Type;
      intermediary field_7728 Lnet/minecraft/class_1690$class_1692;field_7728:Lnet/minecraft/class_1690$class_1692;
      official b Lcow$b;b:Lcow$b;
    • BIRCH

      public static final BoatEntity.Type BIRCH
      Mappings:
      Namespace Name Mixin selector
      named BIRCH Lnet/minecraft/entity/vehicle/BoatEntity$Type;BIRCH:Lnet/minecraft/entity/vehicle/BoatEntity$Type;
      intermediary field_7729 Lnet/minecraft/class_1690$class_1692;field_7729:Lnet/minecraft/class_1690$class_1692;
      official c Lcow$b;c:Lcow$b;
    • JUNGLE

      public static final BoatEntity.Type JUNGLE
      Mappings:
      Namespace Name Mixin selector
      named JUNGLE Lnet/minecraft/entity/vehicle/BoatEntity$Type;JUNGLE:Lnet/minecraft/entity/vehicle/BoatEntity$Type;
      intermediary field_7730 Lnet/minecraft/class_1690$class_1692;field_7730:Lnet/minecraft/class_1690$class_1692;
      official d Lcow$b;d:Lcow$b;
    • ACACIA

      public static final BoatEntity.Type ACACIA
      Mappings:
      Namespace Name Mixin selector
      named ACACIA Lnet/minecraft/entity/vehicle/BoatEntity$Type;ACACIA:Lnet/minecraft/entity/vehicle/BoatEntity$Type;
      intermediary field_7725 Lnet/minecraft/class_1690$class_1692;field_7725:Lnet/minecraft/class_1690$class_1692;
      official e Lcow$b;e:Lcow$b;
    • CHERRY

      public static final BoatEntity.Type CHERRY
      Mappings:
      Namespace Name Mixin selector
      named CHERRY Lnet/minecraft/entity/vehicle/BoatEntity$Type;CHERRY:Lnet/minecraft/entity/vehicle/BoatEntity$Type;
      intermediary field_42681 Lnet/minecraft/class_1690$class_1692;field_42681:Lnet/minecraft/class_1690$class_1692;
      official f Lcow$b;f:Lcow$b;
    • DARK_OAK

      public static final BoatEntity.Type DARK_OAK
      Mappings:
      Namespace Name Mixin selector
      named DARK_OAK Lnet/minecraft/entity/vehicle/BoatEntity$Type;DARK_OAK:Lnet/minecraft/entity/vehicle/BoatEntity$Type;
      intermediary field_7723 Lnet/minecraft/class_1690$class_1692;field_7723:Lnet/minecraft/class_1690$class_1692;
      official g Lcow$b;g:Lcow$b;
    • MANGROVE

      public static final BoatEntity.Type MANGROVE
      Mappings:
      Namespace Name Mixin selector
      named MANGROVE Lnet/minecraft/entity/vehicle/BoatEntity$Type;MANGROVE:Lnet/minecraft/entity/vehicle/BoatEntity$Type;
      intermediary field_37506 Lnet/minecraft/class_1690$class_1692;field_37506:Lnet/minecraft/class_1690$class_1692;
      official h Lcow$b;h:Lcow$b;
    • BAMBOO

      public static final BoatEntity.Type BAMBOO
      Mappings:
      Namespace Name Mixin selector
      named BAMBOO Lnet/minecraft/entity/vehicle/BoatEntity$Type;BAMBOO:Lnet/minecraft/entity/vehicle/BoatEntity$Type;
      intermediary field_40161 Lnet/minecraft/class_1690$class_1692;field_40161:Lnet/minecraft/class_1690$class_1692;
      official i Lcow$b;i:Lcow$b;
  • Field Details

    • CODEC

      public static final StringIdentifiable.EnumCodec<BoatEntity.Type> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/entity/vehicle/BoatEntity$Type;CODEC:Lnet/minecraft/util/StringIdentifiable$EnumCodec;
      intermediary field_41599 Lnet/minecraft/class_1690$class_1692;field_41599:Lnet/minecraft/class_3542$class_7292;
      official j Lcow$b;j:Lazu$a;
    • BY_ID

      private static final IntFunction<BoatEntity.Type> BY_ID
      Mappings:
      Namespace Name Mixin selector
      named BY_ID Lnet/minecraft/entity/vehicle/BoatEntity$Type;BY_ID:Ljava/util/function/IntFunction;
      intermediary field_41675 Lnet/minecraft/class_1690$class_1692;field_41675:Ljava/util/function/IntFunction;
      official m Lcow$b;m:Ljava/util/function/IntFunction;
    • name

      private final String name
      Mappings:
      Namespace Name Mixin selector
      named name Lnet/minecraft/entity/vehicle/BoatEntity$Type;name:Ljava/lang/String;
      intermediary field_7726 Lnet/minecraft/class_1690$class_1692;field_7726:Ljava/lang/String;
      official k Lcow$b;k:Ljava/lang/String;
    • baseBlock

      private final Block baseBlock
      Mappings:
      Namespace Name Mixin selector
      named baseBlock Lnet/minecraft/entity/vehicle/BoatEntity$Type;baseBlock:Lnet/minecraft/block/Block;
      intermediary field_7731 Lnet/minecraft/class_1690$class_1692;field_7731:Lnet/minecraft/class_2248;
      official l Lcow$b;l:Ldfa;
  • Constructor Details

    • Type

      private Type(Block baseBlock, String name)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/entity/vehicle/BoatEntity$Type;<init>(Ljava/lang/String;ILnet/minecraft/block/Block;Ljava/lang/String;)V
      intermediary <init> Lnet/minecraft/class_1690$class_1692;<init>(Ljava/lang/String;ILnet/minecraft/class_2248;Ljava/lang/String;)V
      official <init> Lcow$b;<init>(Ljava/lang/String;ILdfa;Ljava/lang/String;)V
  • Method Details

    • values

      public static BoatEntity.Type[] 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 BoatEntity.Type 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
      named asString Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
      intermediary method_15434 Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
      official c Lazu;c()Ljava/lang/String;
    • getName

      public String getName()
      Mappings:
      Namespace Name Mixin selector
      named getName Lnet/minecraft/entity/vehicle/BoatEntity$Type;getName()Ljava/lang/String;
      intermediary method_7559 Lnet/minecraft/class_1690$class_1692;method_7559()Ljava/lang/String;
      official a Lcow$b;a()Ljava/lang/String;
    • getBaseBlock

      public Block getBaseBlock()
      Mappings:
      Namespace Name Mixin selector
      named getBaseBlock Lnet/minecraft/entity/vehicle/BoatEntity$Type;getBaseBlock()Lnet/minecraft/block/Block;
      intermediary method_7560 Lnet/minecraft/class_1690$class_1692;method_7560()Lnet/minecraft/class_2248;
      official b Lcow$b;b()Ldfa;
    • toString

      public String toString()
      Overrides:
      toString in class Enum<BoatEntity.Type>
    • getType

      public static BoatEntity.Type getType(int type)
      Mappings:
      Namespace Name Mixin selector
      named getType Lnet/minecraft/entity/vehicle/BoatEntity$Type;getType(I)Lnet/minecraft/entity/vehicle/BoatEntity$Type;
      intermediary method_7558 Lnet/minecraft/class_1690$class_1692;method_7558(I)Lnet/minecraft/class_1690$class_1692;
      official a Lcow$b;a(I)Lcow$b;
    • getType

      public static BoatEntity.Type getType(String name)
      Mappings:
      Namespace Name Mixin selector
      named getType Lnet/minecraft/entity/vehicle/BoatEntity$Type;getType(Ljava/lang/String;)Lnet/minecraft/entity/vehicle/BoatEntity$Type;
      intermediary method_7561 Lnet/minecraft/class_1690$class_1692;method_7561(Ljava/lang/String;)Lnet/minecraft/class_1690$class_1692;
      official a Lcow$b;a(Ljava/lang/String;)Lcow$b;