Package net.minecraft.block
Enum Class BlockRenderType
- All Implemented Interfaces:
Serializable,Comparable<BlockRenderType>,Constable
- Mappings:
Namespace Name official cosintermediary net/minecraft/class_2464named 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 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BlockRenderTypeReturns the enum constant of this class with the specified name.static BlockRenderType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INVISIBLE
- Mappings:
Namespace Name Mixin selector official aLcos;a:Lcos;intermediary field_11455Lnet/minecraft/class_2464;field_11455:Lnet/minecraft/class_2464;named INVISIBLELnet/minecraft/block/BlockRenderType;INVISIBLE:Lnet/minecraft/block/BlockRenderType;
-
ENTITYBLOCK_ANIMATED
- Mappings:
Namespace Name Mixin selector official bLcos;b:Lcos;intermediary field_11456Lnet/minecraft/class_2464;field_11456:Lnet/minecraft/class_2464;named ENTITYBLOCK_ANIMATEDLnet/minecraft/block/BlockRenderType;ENTITYBLOCK_ANIMATED:Lnet/minecraft/block/BlockRenderType;
-
MODEL
- Mappings:
Namespace Name Mixin selector official cLcos;c:Lcos;intermediary field_11458Lnet/minecraft/class_2464;field_11458:Lnet/minecraft/class_2464;named MODELLnet/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 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
-