src/main/java/net/azagwen/atbyw/util/BlockUtils.java
public static void registerBlocksOnly(String block_name, String[] variant_type, Block... block) {
        if (block.length == variant_type.length)
            for (int i = 0; i < block.length; i++) {
                registerBlockOnly(String.join("_", variant_type[i], block_name), block[i]);
            }
        else
            throw new IllegalArgumentException("could not register " + block_name + " : mismatched lengths !");
    }
/** Will only register blocks, without block items associated to them.
     *  Registers a given amount of blocks determined by "block" and "variant_type"'s length,
     *  those two arrays MUST match in order to register those blocks, if the lengths mismatch
     *  the game will crash on its own and notify you of that mistake.
     *
     *  @param block_name       The name of the block.
     *  @param variant_type     An array of Strings of which every index will be put between "prefix" and "block_name".
     *  @param block            An Array of Blocks that must match the length of "variant_type".
     */
Will only register blocks, without block items associated to them.
Registers a given amount of blocks determined by "block" and "variant_type"'s length,
those two arrays MUST match in order to register those blocks, if the lengths mismatch
the game will crash on its own and notify you of that mistake.

@param block_name       The name of the block.
@param variant_type     An array of Strings of which every index will be put between "prefix" and "block_name".
@param block            An Array of Blocks that must match the length of "variant_type".
Will only register blocks without block items associated to them . Registers a given amount of blocks determined by " block " and " variant_type " ' s length those two arrays MUST match in order to register those blocks if the lengths mismatch the game will crash on its own and notify you of that mistake . @param block_name The name of the block . @param variant_type An array of Strings of which every index will be put between " prefix " and " block_name " . @param block An Array of Blocks that must match the length of " variant_type " .
public static void registerBlocksOnly(String block_name, String[] variant_type, Block... block) {
        if (block.length == variant_type.length)
            for (int i = 0; i < block.length; i++) {
                registerBlockOnly(String.join("_", variant_type[i], block_name), block[i]);
            }
        else
            throw new IllegalArgumentException("could not register " + block_name + " : mismatched lengths !");
    }
public static void registerBlocksOnly ( String block_name , String [ ] variant_type , Block ... block ) { if ( block . length == variant_type . length ) for ( int i = 0 ; i < block . length ; i ++ ) { registerBlockOnly ( String . join ( "_" , variant_type [ i ] , block_name ) , block [ i ] ) ; } else throw new IllegalArgumentException ( "could not register " + block_name + " : mismatched lengths !" ) ; }
Will only register blocks, without block items associated to them.
Will only register blocks without block items associated to them .