Object ChorusBlockFactory.Companion
-
- All Implemented Interfaces:
public class ChorusBlockFactory.Companion
-
-
Field Summary
Fields Modifier and Type Field Description private final IntRange
MAX_BLOCK_VARIATION
private final Boolean
isEnabled
public final static ChorusBlockFactory.Companion
INSTANCE
-
Method Summary
Modifier and Type Method Description final ChorusBlockFactory
instance()
final Unit
setBlockModel(Block block, String itemId)
Attempts to set the block directly to the model and texture of a Nexo item. final IntRange
getMAX_BLOCK_VARIATION()
final Boolean
isEnabled()
-
-
Method Detail
-
instance
final ChorusBlockFactory instance()
-
setBlockModel
final Unit setBlockModel(Block block, String itemId)
Attempts to set the block directly to the model and texture of a Nexo item.
- Parameters:
block
- The block to update.itemId
- The Nexo item ID.
-
getMAX_BLOCK_VARIATION
final IntRange getMAX_BLOCK_VARIATION()
-
-
-
-