Object NoteBlockMechanicFactory.Companion
-
- All Implemented Interfaces:
public class NoteBlockMechanicFactory.Companion
-
-
Field Summary
Fields Modifier and Type Field Description private final Integer
MAX_BLOCK_VARIATION
private final Boolean
isEnabled
public final static NoteBlockMechanicFactory.Companion
INSTANCE
-
Method Summary
Modifier and Type Method Description final NoteBlockMechanicFactory
instance()
final Unit
setBlockModel(Block block, String itemId)
Attempts to set the block directly to the model and texture of a Nexo item. final Integer
getMAX_BLOCK_VARIATION()
final Boolean
isEnabled()
-
-
Method Detail
-
instance
final NoteBlockMechanicFactory 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 Integer getMAX_BLOCK_VARIATION()
-
-
-
-