src/main/java/net/azagwen/atbyw/block/statues/StatueRegistry.java
private static void registerStatues(String animal, List<Block> statues) {
        var normalStatue = (Block) null;
        var cleanWaxed = (Block) null;
        var exposedWaxed = (Block) null;
        var dirtyWaxed = (Block) null;
        var mossyWaxed = (Block) null;
        var veryMossyWaxed = (Block) null;

        for (var statue : statues) {
            if (statue instanceof StatueBlock) {
                normalStatue = statue;
            }
            if (statue instanceof WaxedStatueBlock) {
                switch(((WaxedStatueBlock) statue).getMossLevel()) {
                    case 0 -> cleanWaxed = statue;
                    case 1 -> exposedWaxed = statue;
                    case 2 -> dirtyWaxed = statue;
                    case 3 -> mossyWaxed = statue;
                    case 4 -> veryMossyWaxed = statue;
                }
            }
        }

        registerBlock(false, DECO_TAB, String.join("_", animal, "statue"), normalStatue);
        registerBlock(false, DECO_TAB, String.join("_", "waxed_clean", animal, "statue"), cleanWaxed);
        registerBlock(false, DECO_TAB, String.join("_", "waxed_exposed", animal, "statue"), exposedWaxed);
        registerBlock(false, DECO_TAB, String.join("_", "waxed_dirty", animal, "statue"), dirtyWaxed);
        registerBlock(false, DECO_TAB, String.join("_", "waxed_mossy", animal, "statue"), mossyWaxed);
        registerBlock(false, DECO_TAB, String.join("_", "waxed_very_mossy", animal, "statue"), veryMossyWaxed);
    }
/** Registers a set number of statues
     *  determined by the prefix (statuePrefixes) array length
     *  and a name corresponding with the input animal String.
     *
     *  @param animal   Name of the animal the statues represent.
     *  @param statues  Ordered List of the statues to register (cleanWaxed, exposedWaxed, dirtyWaxed, mossyWaxed, veryMossyWaxed, normalStatue)
     */
Registers a set number of statues
determined by the prefix (statuePrefixes) array length
and a name corresponding with the input animal String.

@param animal   Name of the animal the statues represent.
@param statues  Ordered List of the statues to register (cleanWaxed, exposedWaxed, dirtyWaxed, mossyWaxed, veryMossyWaxed, normalStatue)
Registers a set number of statues determined by the prefix ( statuePrefixes ) array length and a name corresponding with the input animal String . @param animal Name of the animal the statues represent . @param statues Ordered List of the statues to register ( cleanWaxed exposedWaxed dirtyWaxed mossyWaxed veryMossyWaxed normalStatue )
private static void registerStatues(String animal, List<Block> statues) {
        var normalStatue = (Block) null;
        var cleanWaxed = (Block) null;
        var exposedWaxed = (Block) null;
        var dirtyWaxed = (Block) null;
        var mossyWaxed = (Block) null;
        var veryMossyWaxed = (Block) null;
        for (var statue : statues) {
            if (statue instanceof StatueBlock) {
                normalStatue = statue;
            }
            if (statue instanceof WaxedStatueBlock) {
                switch(((WaxedStatueBlock) statue).getMossLevel()) {
                    case 0 -> cleanWaxed = statue;
                    case 1 -> exposedWaxed = statue;
                    case 2 -> dirtyWaxed = statue;
                    case 3 -> mossyWaxed = statue;
                    case 4 -> veryMossyWaxed = statue;
                }
            }
        }
        registerBlock(false, DECO_TAB, String.join("_", animal, "statue"), normalStatue);
        registerBlock(false, DECO_TAB, String.join("_", "waxed_clean", animal, "statue"), cleanWaxed);
        registerBlock(false, DECO_TAB, String.join("_", "waxed_exposed", animal, "statue"), exposedWaxed);
        registerBlock(false, DECO_TAB, String.join("_", "waxed_dirty", animal, "statue"), dirtyWaxed);
        registerBlock(false, DECO_TAB, String.join("_", "waxed_mossy", animal, "statue"), mossyWaxed);
        registerBlock(false, DECO_TAB, String.join("_", "waxed_very_mossy", animal, "statue"), veryMossyWaxed);
    }
private static void registerStatues ( String animal , List < Block > statues ) { var normalStatue = ( Block ) null ; var cleanWaxed = ( Block ) null ; var exposedWaxed = ( Block ) null ; var dirtyWaxed = ( Block ) null ; var mossyWaxed = ( Block ) null ; var veryMossyWaxed = ( Block ) null ; for ( var statue : statues ) { if ( statue instanceof StatueBlock ) { normalStatue = statue ; } if ( statue instanceof WaxedStatueBlock ) { switch ( ( ( WaxedStatueBlock ) statue ) . getMossLevel ( ) ) { case 0 -> cleanWaxed = statue ; case 1 -> exposedWaxed = statue ; case 2 -> dirtyWaxed = statue ; case 3 -> mossyWaxed = statue ; case 4 -> veryMossyWaxed = statue ; } } } registerBlock ( false , DECO_TAB , String . join ( "_" , animal , "statue" ) , normalStatue ) ; registerBlock ( false , DECO_TAB , String . join ( "_" , "waxed_clean" , animal , "statue" ) , cleanWaxed ) ; registerBlock ( false , DECO_TAB , String . join ( "_" , "waxed_exposed" , animal , "statue" ) , exposedWaxed ) ; registerBlock ( false , DECO_TAB , String . join ( "_" , "waxed_dirty" , animal , "statue" ) , dirtyWaxed ) ; registerBlock ( false , DECO_TAB , String . join ( "_" , "waxed_mossy" , animal , "statue" ) , mossyWaxed ) ; registerBlock ( false , DECO_TAB , String . join ( "_" , "waxed_very_mossy" , animal , "statue" ) , veryMossyWaxed ) ; }
Registers a set number of statues
  determined by the prefix (statuePrefixes) array length
  and a name corresponding with the input animal String.
Registers a set number of statues determined by the prefix ( statuePrefixes ) array length and a name corresponding with the input animal String .