this is adaptation of #getitemburntime item which accepts blocks.check #getitemburntime item for detailed method description . concode_field_sep List<Item> itemBurnBlacklist concode_elem_sep Map<Item,Integer> itemBurnTimeMap concode_elem_sep Map<Object,Integer> materialBurnTimeMap concode_field_sep int getItemBurnTimeStrict concode_elem_sep boolean blacklistItem concode_elem_sep Map<Item,Integer> getItemBurnTimeMap concode_elem_sep boolean registerItemBurnTime concode_elem_sep boolean whitelistItem concode_elem_sep boolean isItemBlacklisted concode_elem_sep int getMaterialBurnTime concode_elem_sep int getMaterialBurnTime concode_elem_sep int registerItemBurnTimeLow concode_elem_sep boolean isItemFuel concode_elem_sep boolean isItemFuel concode_elem_sep int getItemBurnTime concode_elem_sep int getItemBurnTime concode_elem_sep Map<Object,Integer> getMaterialBurnTimeMap concode_elem_sep List<Item> getItemBurnBlacklist concode_elem_sep boolean registerMaterialBurnTime concode_elem_sep boolean registerMaterialBurnTime concode_elem_sep int registerItemBurnTimeHigh
int function ( Block arg0 ) { if ( arg0 == null ) { return 0 ; } return getItemBurnTime ( Item . getItemFromBlock ( arg0 ) ) ; }