Object StringBlockMechanicFactory.Companion
-
- All Implemented Interfaces:
public class StringBlockMechanicFactory.Companion
-
-
Field Summary
Fields Modifier and Type Field Description private final IntRange
MAX_BLOCK_VARIATION
private final Boolean
isEnabled
public final static StringBlockMechanicFactory.Companion
INSTANCE
-
Method Summary
Modifier and Type Method Description final StringBlockMechanicFactory
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 StringBlockMechanicFactory 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()
-
-
-
-