BlockRenderType
This class was added by a mod with mod-id contenttweaker
. So you need to have this mod installed if you want to use this feature.
Importing the class
It might be required for you to import the package if you encounter any issues (like casting an Array), so better be safe than sorry and add the import at the very top of the file.
Enum Constants
BlockRenderType is an enum. It has 4 enum constants. They are accessible using the code below.
Static Properties
Name | Type | Has Getter | Has Setter | Description |
---|---|---|---|---|
Name CUTOUT | Type BlockRenderType | Has Getter true | Has Setter false | Description Transparent, often used for non-full blocks, like saplings and beds. |
Name CUTOUT_MIPPED | Type BlockRenderType | Has Getter true | Has Setter false | Description Transparent, but mip mapped, like vanilla glass. |
Name SOLID | Type BlockRenderType | Has Getter true | Has Setter false | Description Solid, opaque. This is the default value. |
Name TRANSLUCENT | Type BlockRenderType | Has Getter true | Has Setter false | Description Translucent, like vanilla ice and water |