Package net.minecraft.block
Enum BlockRenderType
- All Implemented Interfaces:
Serializable
,Comparable<BlockRenderType>
,java.lang.constant.Constable
public enum BlockRenderType extends Enum<BlockRenderType>
- Mappings:
Namespace Name official ccg
intermediary net/minecraft/class_2464
named net/minecraft/block/BlockRenderType
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants Enum Constant Description ENTITYBLOCK_ANIMATED
INVISIBLE
MODEL
-
Constructor Summary
Constructors Modifier Constructor Description private
BlockRenderType()
-
Method Summary
Modifier and Type Method Description static BlockRenderType
valueOf(String name)
Returns the enum constant of this type with the specified name.static BlockRenderType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
INVISIBLE
- Mappings:
Namespace Name Mixin selector official a
Lccg;a:Lccg;
intermediary field_11455
Lnet/minecraft/class_2464;field_11455:Lnet/minecraft/class_2464;
named INVISIBLE
Lnet/minecraft/block/BlockRenderType;INVISIBLE:Lnet/minecraft/block/BlockRenderType;
-
ENTITYBLOCK_ANIMATED
- Mappings:
Namespace Name Mixin selector official b
Lccg;b:Lccg;
intermediary field_11456
Lnet/minecraft/class_2464;field_11456:Lnet/minecraft/class_2464;
named ENTITYBLOCK_ANIMATED
Lnet/minecraft/block/BlockRenderType;ENTITYBLOCK_ANIMATED:Lnet/minecraft/block/BlockRenderType;
-
MODEL
- Mappings:
Namespace Name Mixin selector official c
Lccg;c:Lccg;
intermediary field_11458
Lnet/minecraft/class_2464;field_11458:Lnet/minecraft/class_2464;
named MODEL
Lnet/minecraft/block/BlockRenderType;MODEL:Lnet/minecraft/block/BlockRenderType;
-
-
Constructor Details
-
BlockRenderType
private BlockRenderType()
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-