Package net.minecraft.entity
Enum Class EntityBlockIntersectionType
- All Implemented Interfaces:
Serializable,Comparable<EntityBlockIntersectionType>,Constable
- Mappings:
Namespace Name named net/minecraft/entity/EntityBlockIntersectionTypeintermediary net/minecraft/class_12008official bwq
-
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
FieldsModifier and TypeFieldDescriptionprivate static final IntFunction<EntityBlockIntersectionType> private final intprivate final intstatic final PacketCodec<ByteBuf, EntityBlockIntersectionType> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetColor()static EntityBlockIntersectionTypeReturns the enum constant of this class with the specified name.static EntityBlockIntersectionType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
IN_BLOCK
- Mappings:
Namespace Name Mixin selector named IN_BLOCKLnet/minecraft/entity/EntityBlockIntersectionType;IN_BLOCK:Lnet/minecraft/entity/EntityBlockIntersectionType;intermediary field_62847Lnet/minecraft/class_12008;field_62847:Lnet/minecraft/class_12008;official aLbwq;a:Lbwq;
-
IN_FLUID
- Mappings:
Namespace Name Mixin selector named IN_FLUIDLnet/minecraft/entity/EntityBlockIntersectionType;IN_FLUID:Lnet/minecraft/entity/EntityBlockIntersectionType;intermediary field_62848Lnet/minecraft/class_12008;field_62848:Lnet/minecraft/class_12008;official bLbwq;b:Lbwq;
-
IN_AIR
- Mappings:
Namespace Name Mixin selector named IN_AIRLnet/minecraft/entity/EntityBlockIntersectionType;IN_AIR:Lnet/minecraft/entity/EntityBlockIntersectionType;intermediary field_62849Lnet/minecraft/class_12008;field_62849:Lnet/minecraft/class_12008;official cLbwq;c:Lbwq;
-
-
Field Details
-
BY_ID
- Mappings:
Namespace Name Mixin selector named BY_IDLnet/minecraft/entity/EntityBlockIntersectionType;BY_ID:Ljava/util/function/IntFunction;intermediary field_62851Lnet/minecraft/class_12008;field_62851:Ljava/util/function/IntFunction;official eLbwq;e:Ljava/util/function/IntFunction;
-
PACKET_CODEC
- Mappings:
Namespace Name Mixin selector named PACKET_CODECLnet/minecraft/entity/EntityBlockIntersectionType;PACKET_CODEC:Lnet/minecraft/network/codec/PacketCodec;intermediary field_62850Lnet/minecraft/class_12008;field_62850:Lnet/minecraft/class_9139;official dLbwq;d:Laat;
-
id
private final int id- Mappings:
Namespace Name Mixin selector named idLnet/minecraft/entity/EntityBlockIntersectionType;id:Iintermediary field_62852Lnet/minecraft/class_12008;field_62852:Iofficial fLbwq;f:I
-
color
private final int color- Mappings:
Namespace Name Mixin selector named colorLnet/minecraft/entity/EntityBlockIntersectionType;color:Iintermediary field_62853Lnet/minecraft/class_12008;field_62853:Iofficial gLbwq;g:I
-
-
Constructor Details
-
EntityBlockIntersectionType
private EntityBlockIntersectionType(int id, int color) - Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/entity/EntityBlockIntersectionType;<init>(Ljava/lang/String;III)Vintermediary <init>Lnet/minecraft/class_12008;<init>(Ljava/lang/String;III)Vofficial <init>Lbwq;<init>(Ljava/lang/String;III)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
-
getColor
public int getColor()- Mappings:
Namespace Name Mixin selector named getColorLnet/minecraft/entity/EntityBlockIntersectionType;getColor()Iintermediary method_74564Lnet/minecraft/class_12008;method_74564()Iofficial aLbwq;a()I
-