This class was added by a mod with mod-id contenttweaker. Perciò, è necessario avere questa mod installata per poter utilizzare questa funzione.

Importare la Classe

Link to importare-la-classe

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.

ZenScript
Copy
import mods.contenttweaker.block.BlockRenderType;

BlockRenderType is an enum. It has 4 enum constants. They are accessible using the code below.

ZenScript
Copy

// Solid, opaque. This is the default value.
BlockRenderType.SOLID

// Translucent, like vanilla ice and water
BlockRenderType.TRANSLUCENT

// Transparent, often used for non-full blocks, like saplings and beds.
BlockRenderType.CUTOUT

// Transparent, but mip mapped, like vanilla glass.
BlockRenderType.CUTOUT_MIPPED

Static Properties

Link to static-properties

NomeTipoHa GetterHa SetterDescrizione
Nome
CUTOUT
Tipo
BlockRenderType
Ha Getter
Ha Setter
no
Descrizione
Transparent, often used for non-full blocks, like saplings and beds.
Nome
CUTOUT_MIPPED
Tipo
BlockRenderType
Ha Getter
Ha Setter
no
Descrizione
Transparent, but mip mapped, like vanilla glass.
Nome
SOLID
Tipo
BlockRenderType
Ha Getter
Ha Setter
no
Descrizione
Solid, opaque. This is the default value.
Nome
TRANSLUCENT
Tipo
BlockRenderType
Ha Getter
Ha Setter
no
Descrizione
Translucent, like vanilla ice and water