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