Object NoteBlockMechanicFactory.Companion
-
- All Implemented Interfaces:
public class NoteBlockMechanicFactory.Companion
-
-
Field Summary
Fields Modifier and Type Field Description private final IntegerMAX_BLOCK_VARIATIONprivate final BooleanisEnabledpublic final static NoteBlockMechanicFactory.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final NoteBlockMechanicFactoryinstance()final UnitsetBlockModel(Block block, String itemId)Attempts to set the block directly to the model and texture of a Nexo item. final IntegergetMAX_BLOCK_VARIATION()final BooleanisEnabled()-
-
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()
-
-
-
-