Object StringBlockMechanicFactory.Companion

    • Constructor Detail

    • Method Detail

      • instance

        @Deprecated(message = "Use MechanicsManager.factory<StringBlockMechanicFactory>() instead.", replaceWith = @ReplaceWith(imports = {"com.nexomc.nexo.mechanics.MechanicsManager"}, expression = "MechanicsManager.factory<StringBlockMechanicFactory>()"))@ApiStatus.ScheduledForRemoval(inVersion = "1.24.0") 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.